Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

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.


  • 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