MathGroup Archive 2007

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

Search the Archive

RE: Specifying x-range for ListPlot


Hi Yaroslav 

> Is it possible to specify x-range for ListPlot? For instance 
> I have points {1,1},{2,2} and would like ListPlot's x-range 
> to go from 0 to 3

Yep.  You just need to specify ranges for both axes.

	ListPlot[{{1, 1}, {2, 2}}, PlotRange -> {{0, 3}, All}]

Regards,

Dave.


  • Prev by Date: Re: Style in Manipulate
  • Next by Date: Re: IsExact
  • Previous by thread: Specifying x-range for ListPlot
  • Next by thread: Re: Specifying x-range for ListPlot