?lines
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Elizabeth Purdom
Sent: Sunday, March 02, 2008 10:30 AM
To: Marc Diamond
Cc: R-help@r-project.org
Subject: Re: [R] One quick question concerning R
Hi,
Not sure about what you want your plot to look
Hi,
Not sure about what you want your plot to look like, but you should also
look at 'matplot'.
Best,
Elizabeth
Marc Diamond wrote:
> Just started using 'R'. Nice system. Once quick question: Is it possible to
> put plot more than one series against a common 'x variable on the same plot?
> In oth
x <- rnorm(10)
y <- runif(10)
z <- 1:10
plot(x~z, ylim=range(x, y), type='l')
lines(y, col='red')
On 01/03/2008, Marc Diamond <[EMAIL PROTECTED]> wrote:
> Just started using 'R'. Nice system. Once quick question: Is it possible to
> put plot more than one series against a common 'x variable on
Just started using 'R'. Nice system. Once quick question: Is it possible to
put plot more than one series against a common 'x variable on the same plot?
In otherwords, I may want a stacked bar chart of line chart containing more
than one series. Could not figure out how to do this.
Thanks for your
4 matches
Mail list logo