MathGroup Archive 2007

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

Search the Archive

Re: plotting vectors


x = Range[72];

y = Range[72]^2;

ListPlot[Thread[{x, y}]]


Bob Hanlon

---- fcs04001 <fabiano1712 at hotmail.com> wrote: 
> Suppose that I have two vectors x and y, each with 72 elements. I want to plot them, but not have to type {x1,y1},{x2,y2},...etc for all 72 pairs. Is there an easy way to do that? I know that in another system this is pretty easy, but am having difficulty with Mathematica to perform that.
> Thanks.
> 



  • Prev by Date: Re: Hiding number cell
  • Next by Date: different eigenvectors
  • Previous by thread: Re: plotting vectors
  • Next by thread: Re: plotting vectors