MathGroup Archive 2007

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

Search the Archive

Re: Plotting x and y arrays


This will do the sort of thing that you want:

x = RandomReal[{-1, 1}, {100}];
y = RandomReal[{-1, 1}, {100}];
ListPlot[Transpose[{x, y}]]

-- 
Steve Luttrell
West Malvern, UK

"John Lee" <johnlee_15 at hotmail.com> wrote in message 
news:ffsc78$mp4$1 at smc.vnet.net...
>I have a table of x values and a separate table of corresponding y values. 
>Is there a way to plot these values directly without using MapThread and 
>without creating a new table to store the x and y values?
>
> Thanks,
> John
> 



  • Prev by Date: Re: Plotting x and y arrays
  • Next by Date: Re: Tooltip does not what I expect it to do
  • Previous by thread: Re: Plotting x and y arrays
  • Next by thread: Re: Plotting x and y arrays