MathGroup Archive 2004

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

Search the Archive

RE: In Plot, horizontal range is reduced depending on PlotRange


Alain,

Is this what you wanted?

Plot[Exp[-10000 t^2], {t, 0, 1}, PlotRange -> {{0, 0.03}, {-.5, 1}}];

If you specify only a single plot range it refers to the vertical range.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 

From: Alain Cochard [mailto:alain at geophysik.uni-muenchen.de]
To: mathgroup at smc.vnet.net


Hello.  Sorry if this has already been asked; I search the archives a
bit but could find anything relevant.

Although the command

   Plot[Exp[-10000 t^2],{t, 0, 1}, PlotRange -> All] 

produces exactly what I expect, the following one produces a plot
where the horizontal axis is from 0 to about 0.53 only:

   Plot[Exp[-10000 t^2],{t, 0, 1},PlotRange ->{-.5,1}]

I have $Version:

   Out[334]= 4.0 for Linux (July 22, 1999)

If this is normal, what am I missing?  In any case, how can display
with a prescribed horizontal range?

Thanks,
Alain




  • Prev by Date: Re: If-statement problems
  • Next by Date: RE: Re: New GUIKit for Mathematica
  • Previous by thread: RE: In Plot, horizontal range is reduced depending on PlotRange
  • Next by thread: RE: In Plot, horizontal range is reduced depending on PlotRange