[R] how to plot several curves in the same frame

jim holtman jholtman at gmail.com
Fri Feb 3 13:29:19 CET 2012


Your data appears to have two different dates.  What is the x-axis of
the data you want plotted?  Is it just going to the the hours in a
day?

On Fri, Feb 3, 2012 at 5:05 AM, ikuzar <razuki at hotmail.fr> wrote:
> Hello,
> I'd like to know how to plot several curves in the same frame (1curve =
> 1line=1day).
> For instance (csv file):
>
> 2012-02-01 01:00:00; 2100
> 2012-02-01 02:00:00; 2200
> ...
> 2012-02-01 23:00:00; 2500
> 2012-02-02 01:00:00; 1000
> 2012-02-02 02:00:00; 1500
> ...
> 2012-02-02 23:00:00; 1700
>
> Here, I have to plot 2 curves in the same frame: 1 for 2012-02-01 (on the
> first line) and 1 for 2012-02-02 (on the second)
>
> Thanks for your help
>
> --
> View this message in context: http://r.789695.n4.nabble.com/how-to-plot-several-curves-in-the-same-frame-tp4354165p4354165.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.



-- 
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.



More information about the R-help mailing list