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: [mg63662] Re: [mg63638] Using a List for the Listplot x-labels
  • From: <bsyehuda at gmail.com>
  • Date: Mon, 9 Jan 2006 04:48:46 -0500 (EST)
  • References: <200601080833.DAA02363@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
You might want to ListPlot pairs rather the single list b, so x values will
be determined by list a
ListPlot[Thread[{a,b}]]
Or
just control the horizontal Tick marks. This will have the same effect.

ListPlot[b, Ticks->{Thread[{Range[Length[a]],a}],Automatic}]

yehuda
On 1/8/06, Uwe Ziegenhagen <newsgroup at ziegenhagen.info> wrote:
>
> Hello,
>
> 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?
>
> Uwe
>
>



  • Prev by Date: Re: Performance improvement needed - Help.
  • Next by Date: Getting the value of the independent var from the dep.var using NDSolve
  • Previous by thread: Re: Using a List for the Listplot x-labels
  • Next by thread: Re: Using a List for the Listplot x-labels