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: [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.



  • Prev by Date: FW: Solving Nonlinear Equations
  • Next by Date: version 6 Plot3D exporting results in HUGE files
  • Previous by thread: Re: Specifying x-range for ListPlot
  • Next by thread: Style in Manipulate