Re: [R] Plotting two lines on a graph when using par(mfrow=)

2011-02-27 Thread Joshua Wiley
Hi Eric, On Sun, Feb 27, 2011 at 10:06 AM, eric wrote: > Basic question but still learning > > How do I plot two lines (f$equity and f$bh.equity) on one of the three > graphs under mfrow ? I tried putting brackets around the first plot and > lines command but that didn't work. > > par(mfrow=

[R] Plotting two lines on a graph when using par(mfrow=)

2011-02-27 Thread eric
Basic question but still learning How do I plot two lines (f$equity and f$bh.equity) on one of the three graphs under mfrow ? I tried putting brackets around the first plot and lines command but that didn't work. par(mfrow=c(3,1)) {plot(f$Date,f$equity, col="blue", type="l", main="equity") l

Re: [R] Plotting Two Lines

2009-01-24 Thread Jim Lemon
Jim Lemon wrote: stats787 wrote: Hi, I am trying to plot the following data such that both variable y and z vs x. (ie two lines on a single plot). As the x variable is not numeric, how do I go about it? Appreciate if any expert could help. I know I use plot() follow by lines() to add another

Re: [R] Plotting Two Lines

2009-01-24 Thread Jim Lemon
stats787 wrote: Hi, I am trying to plot the following data such that both variable y and z vs x. (ie two lines on a single plot). As the x variable is not numeric, how do I go about it? Appreciate if any expert could help. I know I use plot() follow by lines() to add another line to the plot. B

[R] Plotting Two Lines

2009-01-24 Thread stats787
Hi, I am trying to plot the following data such that both variable y and z vs x. (ie two lines on a single plot). As the x variable is not numeric, how do I go about it? Appreciate if any expert could help. I know I use plot() follow by lines() to add another line to the plot. But my problem is