MathGroup Archive 2007

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

Search the Archive

Re: plotting vectors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83895] Re: [mg83869] plotting vectors
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Mon, 3 Dec 2007 07:15:05 -0500 (EST)
  • Reply-to: hanlonr at cox.net

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