MathGroup Archive 1998

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

Search the Archive

Re: ListPlot?



phpcp wrote:
> 
> Hi!
> 
> Simple question :
> 
> How can I plot one list against another
> 
> Thank you,
> Sanjay.

Exactly what do you mean by "plot one list against another"?  If you
could be more specific, we could probably help.  I will take a guess
that you have a list  xx={x1,x2,x3,...} and another list
yy={y1,y2,y3,...} and want to plot {{x1,y1},{x2,y2},{x3,y3},...} on a
two dimensional {x,y} graph.

If this is the case, then you want:

ListPlot[Transpose[{xx,yy}]]



  • References:
    • ListPlot?
      • From: phpcp <phpcp@csv.warwick.ac.uk>
  • Prev by Date: Newbie Question
  • Next by Date: Using a palette as an interface
  • Prev by thread: ListPlot?
  • Next by thread: Re: ListPlot?