MathGroup Archive 1999

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

Search the Archive

Re: Want to plot list with modified x-axis.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20467] Re: Want to plot list with modified x-axis.
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 27 Oct 1999 02:04:40 -0400
  • Organization: Universitaet Leipzig
  • References: <7v3dhu$63i@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi John,

ListPlot[MapIndexed[{physicalfactor*First[#2],#1} &,mylist]]

will do it.

Regards
  Jens

"I. Ioannou" wrote:
> 
> Hi all,
> 
> I've been trying to plot a list which comes out of a table (a string of
> 10K numbers basically) with modified x-axis. If I were to "listplot", I'd
> get the x-axis to go from 0 to 10,000. I want to scale that by a physical
> factor and plot that way instead.
> 
> I tried ParametricPlot[{physicalfactor*n,mylist[[n]],{n,1,10000}] but
> nothing good happened. Just a lot of error messages. (Part::pspec, and
> ParametricPlot:pptr)
>


  • Prev by Date: Re: Avoid long output, Real variables?
  • Next by Date: Re: Help! ListContourPlot
  • Previous by thread: Re: Want to plot list with modified x-axis.
  • Next by thread: A simple question? Please help