Message Boards Message Boards

1
|
5206 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

I would like to change the axis scale.

Posted 9 years ago

Like, instead of showing 1,2,3,4... to show pi/2,pi... when plotting a function like sine for example.

Thanks

POSTED BY: erivaldo nunes
2 Replies

Dear Erivaldo,

Have a look at the options Ticks and FrameTicks in the help. An example would be something like:

Plot[Sin[x],{x,0,2Pi},Ticks->{Range[0,2Pi,Pi/2],Automatic}]
POSTED BY: Sander Huisman
Posted 9 years ago

Thanks Buddy!

POSTED BY: erivaldo nunes
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract