MathGroup Archive 2006

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

Search the Archive

Re: Using a List for the Listplot x-labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63659] Re: Using a List for the Listplot x-labels
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Mon, 9 Jan 2006 04:48:41 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 1/8/06 at 3:33 AM, newsgroup at ziegenhagen.info (Uwe Ziegenhagen)
wrote:

>I have a list 'a' and use a function on this list to receive list
>'b'. When I create a ListPlot the x-labels go from 1 to n, I would
>like to use the original list. Can someone give me a hint?

It appears you are asking how to plot list 'b' versus list 'a'. That is the values in a should be shown on the x-axis with the corresponding values in 'b' shown on the y-axis. If I have what you want correct then

ListPlot[Transpose@{a,b}]

will do what you want.
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Using a List for the Listplot x-labels
  • Next by Date: Re: bug in PlotLegend?
  • Previous by thread: Re: Using a List for the Listplot x-labels
  • Next by thread: Re: Using a List for the Listplot x-labels