Re: Plot and axes
- To: mathgroup at smc.vnet.net
- Subject: [mg52213] Re: Plot and axes
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Sun, 14 Nov 2004 20:15:12 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 11/14/04 at 4:31 AM, slshippee at comcast.net (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];
Does this do what you are looking for?
Plot[0, {x, -4, 4}, PlotRange -> {-4, 4},
Frame -> False, GridLines -> Automatic,
AspectRatio -> 0.9, ImageSize -> 400,
Ticks -> {Range[-4, 4], Automatic}];
--
To reply via email subtract one hundred and four