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 > >
- References:
- Using a List for the Listplot x-labels
- From: Uwe Ziegenhagen <newsgroup@ziegenhagen.info>
- Using a List for the Listplot x-labels