Re: List of x,y pairs to use with ListPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg4768] Re: List of x,y pairs to use with ListPlot
- From: "Seth J. Chandler" <SChandler at uh.edu>
- Date: Fri, 13 Sep 1996 13:54:51 -0400
- Organization: University of Houston
- Sender: owner-wri-mathgroup at wolfram.com
Victoria Steblina wrote:
>
> In article <4uph4n$5bb at dragonfly.wolfram.com>, dobitz at ibm.net says...
> >
> >I want to take two lists, one an intended 'x' and the other an intended 'y'
> >and combine them into one list so I can use them for and x, y plot with the
> >ListPlot function.
> >
> >*----------------------------------
> >* John K. Dobitz
> >
>
> Transpose[{x, y}] seems like a clearest way of doing this...
>
> Victoria V. Steblina
> <vvs124 at anu.edu.au>
> OSC, ANU, ACT
Alternatively, try
ListPlot[Thread[List[x,y]]]
==== [MESSAGE SEPARATOR] ====