MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plot and axes


Use the Ticks option
Plot[f[x],{x,-4,4},Ticks->{Range[-4,4],Automatic}].
If can change the values of the grid lines in a similar fashion
yehuda

Steven Shippee wrote:

>I would like to get the marks on my "x" axis to show as '1, 2, 3, 4', just
>like the "y" axis, but by default they show as '2,4' - is there an easy way
>to find this in the help files?
>
>coordaxes =
>Plot[0, {x, -4, 4}, PlotRange -> {-4, 4}, Frame -> False,
>GridLines -> Automatic, AspectRatio -> .9, ImageSize -> 400];
>
>I did an
>Options[Plot]
>
>but could not figure out how to do it from there.
>
>Thanks in advance,
>
>Steven Shippee
>slshippee at comcast.net
>
>  
>


  • Prev by Date: Re: scroll problem with mouse
  • Next by Date: Clearing local variables and Memory Leaks
  • Previous by thread: Plot and axes
  • Next by thread: Re: Plot and axes