Re: Plotting two list variables
- To: mathgroup at smc.vnet.net
- Subject: [mg107391] Re: [mg107383] Plotting two list variables
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Thu, 11 Feb 2010 06:53:33 -0500 (EST)
- References: <201002111019.FAA28137@smc.vnet.net>
Hi,
but when you have the lists unseparated in drugs[[]], why dont you use
ListPlot[drugs[[All,{2,3}]]]?
data = Table[{i, i + RandomReal[]*0.1, Sin[i] + RandomReal[]*0.1}, {i,
0, 2 Pi, 0.1}];
ListPlot[data[[All, {2, 3}]]]
Cheers
Patrick
On Thu, 2010-02-11 at 05:19 -0500, Bob Gotwals wrote:
> I have two variables in separate lists, extracted from a larger data set. How do I plot one as "x", and the other as "y"?
>
> logP = drugs[[All, 2]];
> logS = drugs[[All, 3]];
>
- References:
- Plotting two list variables
- From: Bob Gotwals <gotwals@ncssm.edu>
- Plotting two list variables