Re: [R] One quick question concerning R

From: Henrique Dallazuanna <wwwhsd_at_gmail.com>
Date: Sat, 01 Mar 2008 20:42:15 -0300

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 <marc.d.diamond_at_gmail.com> 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 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 help.
>
> Marc Diamond
> Aviation-Software, Inc.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 01 Mar 2008 - 23:45:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 02 Mar 2008 - 00:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive