MathGroup Archive 2007

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

Search the Archive

Re: Plotting x and y arrays

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82650] Re: Plotting x and y arrays
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 27 Oct 2007 06:01:59 -0400 (EDT)
  • References: <ffsc78$mp4$1@smc.vnet.net>

Hi,

xData = Table[x, {x, 0, Pi, Pi/1024.}];
yData = Sin /@ xData;

ListPlot[Transpose[{xData, yData}]]

but Transpose[{xData, yData}]
is a new table

Regards
   Jens

John Lee wrote:
> 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: Ordering function weird?
  • Next by Date: Re: FullSimplify in functions
  • Previous by thread: Plotting x and y arrays
  • Next by thread: Re: Plotting x and y arrays