Re: Specifying x-range for ListPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg80586] Re: Specifying x-range for ListPlot
- From: cfnp9066 at gmail.com
- Date: Sun, 26 Aug 2007 04:28:51 -0400 (EDT)
- References: <falscd$gcd$1@smc.vnet.net>
On Aug 24, 2:03 am, Yaroslav Bulatov <yarosla... at gmail.com> wrote:
> 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
See if this works:
ListPlot[{{1, 1}, {2, 2}}, PlotRange -> {{0, 3}, {ymin, ymax}}];
You can put anything you want for ymin and ymax.