Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

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

  • To: mathgroup at
  • Subject: [mg20467] Re: Want to plot list with modified x-axis.
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 27 Oct 1999 02:04:40 -0400
  • Organization: Universitaet Leipzig
  • References: <7v3dhu$>
  • Sender: owner-wri-mathgroup at

Hi John,

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

will do it.


"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