Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Plot and axes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52209] Re: [mg52197] Plot and axes
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 14 Nov 2004 20:15:06 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Explicitly specify the PlotRange in both dimensions

Plot[0,{x,-4,4},PlotRange->{{-4,4},{-4,4}},
    Frame->False,GridLines->Automatic,
    AspectRatio->1,ImageSize->400];

or manually specify the Gridlines

Plot[0,{x,-4,4},PlotRange->{-4,4},
    Frame->False,
    GridLines->{Range[-4,4],Range[-4,4]},
    AspectRatio->1,ImageSize->400];


Bob Hanlon

> 
> From: "Steven Shippee" <slshippee at comcast.net>
To: mathgroup at smc.vnet.net
> Date: 2004/11/14 Sun AM 04:31:08 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg52209] [mg52197] Plot and axes
> 
> 
> 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: Plot and axes
  • Next by Date: Re:Re: Counting Runs
  • Previous by thread: Re: Plot and axes
  • Next by thread: Re: Plot and axes