Re: Axis missing from simple ListPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg77687] Re: Axis missing from simple ListPlot
- From: Arne Eide <arne.eide at gmail.com>
- Date: Fri, 15 Jun 2007 04:26:04 -0400 (EDT)
- References: <f4r3o3$9cb$1@smc.vnet.net>
both v.5.2 and v.6 accept Automatic to represent one number if this i necessary to give meaning to the expression. Mathematica reads in the given case reads {1,Automatic} and converts it to {1,3} as range for the vertical axis. The two versions differ however in how to display the horizontal axis. V.5.2 reads no information as 'Automatic', while v.6 - given that information is provided on how to display the vertical axes, reads no information on the horizontal axis as 'None'. Not necessary better or worse than before, but may be more consistent. it has just been changed. In this case you therefore need to rephrase the option value to {{0,1},Automatic}. Arne Eide On Jun 14, 12:02 pm, Bill Rowe <readnews... at sbcglobal.net> wrote: > On 6/13/07 at 7:25 AM, andrew.j.moy... at gmail.com (Andrew Moylan) > wrote: > > >Consider this simple ListPlot: > >ListPlot[{{0, 3}, {1, 2}}, Joined -> True, > >PlotRange -> {1, Automatic}] > >The resulting plot has no visible horizonal axis. > > This is not the case for version 6 running on Mac OS X. > > I was a little surprised that Mathematica was willing to > generate a plot with this specification for PlotRange. The usual > way to specify a PlotRange is to give a pair of numbers showing > the min,max for each axis or terms like, Automatic, All etc. It > seemed surprising to me Mathematica could interpret a single > digit as a meaningful PlotRange > -- > To reply via email subtract one hundred and four