MathGroup Archive 1998

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

Search the Archive

Re: ListPlot?



phpcp wrote in message <6k7cr9$1bi@smc.vnet.net>...

>How can I plot one list against another


Sanjay,
How about

xlist = {1,4,5};
ylist ={2,-3,6};
yagainstxlist = Transpose[{xlist,ylist}] {{1, 2}, {4, -3}, {5, 6}}

plotyagainstx =
    ListPlot[yagainstxlist, PlotJoined ->True]

------------------------------------------------------------- Allan
Hayes
Training and Consulting
Leicester UK
http://www.haystack.demon.co.uk
hay@haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44(0)116 271 8642




  • Prev by Date: Re: Re: graphics question
  • Next by Date: Re: About plotting a surface
  • Prev by thread: Re: ListPlot?
  • Next by thread: Re: ListPlot?