Re: ListPlot?
- To: mathgroup@smc.vnet.net
- Subject: [mg12584] Re: ListPlot?
- From: "Allan Hayes" <hay@haystack.demon.cc.uk>
- Date: Mon, 25 May 1998 14:24:56 -0400
- References: <6k7cr9$1bi@smc.vnet.net>
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