RE: Specifying x-range for ListPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg80558] RE: [mg80520] Specifying x-range for ListPlot
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Sun, 26 Aug 2007 03:01:42 -0400 (EDT)
- References: <200708240558.BAA16626@smc.vnet.net>
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.
- References:
- Specifying x-range for ListPlot
- From: Yaroslav Bulatov <yaroslavvb@gmail.com>
- Specifying x-range for ListPlot