MathGroup Archive 2005

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

Search the Archive

Re: 2D plot for lists?


xlist=Table[2*Pi*Random[],{40}];

ylist=Sin/@xlist;

ListPlot[Transpose[{xlist,ylist}]];

ListPlot[Sort[Transpose[{xlist,ylist}]],
    PlotJoined->True];


Bob Hanlon

> 
> From: "J. K. Smith" <rob at pi-overe.com>
To: mathgroup at smc.vnet.net
> Date: 2005/01/09 Sun PM 11:03:54 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg53411] [mg53395] 2D plot for lists?
> 
> I'd like to make a 2D plot using two lists for the x and y axes.  I need 
> what ParametricPlot[ {x[t], y[t]}, {t, tmin, tmax}] does for two 
> functions of t except x and y are lists of values. There doesn't seem to 
> be a ParametricListPlot[] to do this.  Any suggestions? Thanks.
> 
> Remove the "-" for email.
> 
> 


  • Prev by Date: Re: Export Animation
  • Next by Date: Re: any updates to Mathematica control system
  • Previous by thread: Re: 2D plot for lists?
  • Next by thread: Re: 2D plot for lists?