Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Question with ListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83864] Re: Question with ListPlot
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Mon, 3 Dec 2007 05:41:34 -0500 (EST)

On 12/2/07 at 4:09 AM, amorales at lme.usp.br (Ary Adilson Morales
Alvarado) wrote:

>I would like to plot one list (only with one colum), but that "x"
>coordinates begin from a number different of zero.

>For example, I have a list like that ... a={1,2,3,4} and I would
>like to plot "a" in "y" coordinate and in "x" coordinate I wants to
>began from 100 to 103.

If you are using version 6, then this can be done with

ListPlot[a, DataRange -> {100, 103}]

With earlier versions you will need to explicitly generate the
x-coordinate. For example,

ListPlot[Thread@{Range[100, 103], a}]
--
To reply via email subtract one hundred and four


  • Prev by Date: Manipulate - ODE
  • Next by Date: Fold and Cross
  • Previous by thread: Question with ListPlot
  • Next by thread: Re: Question with ListPlot