Re: Using a List for the Listplot x-labels
- To: mathgroup at smc.vnet.net
- Subject: [mg63655] Re: [mg63638] Using a List for the Listplot x-labels
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Mon, 9 Jan 2006 04:48:33 -0500 (EST)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
a=Sort[Table[Pi*Random[],{100}]];
b=Sin/@a;
ListPlot[Thread[{a,b}],PlotJoined->True];
Bob Hanlon
>
> From: Uwe Ziegenhagen <newsgroup at ziegenhagen.info>
To: mathgroup at smc.vnet.net
> Subject: [mg63655] [mg63638] Using a List for the Listplot x-labels
>
> 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
>
>