MathGroup Archive 2007

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

Search the Archive

Re: Axis missing from simple ListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77727] Re: Axis missing from simple ListPlot
  • From: Ray Koopman <koopman at sfu.ca>
  • Date: Fri, 15 Jun 2007 04:46:45 -0400 (EDT)
  • References: <f4okpv$6q3$1@smc.vnet.net>

On Jun 13, 4:35 am, Andrew Moylan <andrew.j.moy... at gmail.com> wrote:
> Consider this simple ListPlot:
>
> ListPlot[{{0, 3}, {1, 2}}, Joined -> True,
>  PlotRange -> {1, Automatic}]
>
> The resulting plot has no visible horizonal axis.
>
> The axis reappears if you replace Automatic with an explicit number,
> like 4, or remove the PlotRange setting entirely. The axis stays
> missing if you replace Automatic with Full or All.
>
> Any ideas?

>From the 5.2 Help file for PlotRange:

"A setting such as {min, Automatic} gives a particular minimum
 value for a coordinate, with a maximum value to be determined."

So both {1, Automatic} and {Automatic, 4} ought to work.
On my system (5.2, Mac OS X), {1, Automatic} works nicely;
{Automatic, 4} fails, giving the error message

"PlotRange::prng : Value of option PlotRange -> {Automatic, 4}
 is not All, Automatic, or an appropriate list of range
 specifications. More..."



  • Prev by Date: Re: Help with formatting output
  • Next by Date: Re: Mathematica 6.0 not running in Fedora 7?
  • Previous by thread: Re: Re: Axis missing from simple ListPlot
  • Next by thread: Re: Axis missing from simple ListPlot