MathGroup Archive 2006

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

Search the Archive

Ordinate in Plot Command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70271] Ordinate in Plot Command
  • From: "Robert M. Mazo" <mazo at uoregon.edu>
  • Date: Wed, 11 Oct 2006 01:53:18 -0400 (EDT)
  • Organization: University of Oregon

When one forces the axes origin to go through {0,0}
(AxesOrigin->{0,0}) in a Plot command, and the function being plotted
has no values near y = 0, Mathematica leaves a blank instead of
printing  the lower part of the y axis. Try

Plot[x+.5, {x, 0, 1}, AxesOrigin ->{0,0}, PlotRange ->All]

to see what I mean in a simple case.  Does anyone know an easy
workaround for this problem?  

Of course, you can have Mathematica draw in the missing part of the
axis with a separate command, Line[{0,0}, {0, ordinate of point where
y axis begins to print], but then you have to figure out where to put
in the tick marks and labels.  This is doable, but a nuisance.  What I
am looking for is a way to tell Mathematica "don't drop the lower part
of the axis."

Bob 


  • Prev by Date: Re: Copy input and User Defined Variables
  • Next by Date: Re: Copy input and User Defined Variables
  • Previous by thread: webMathematica GUI with Flash Pro?
  • Next by thread: Re: Ordinate in Plot Command