[R] shading line plot

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Tue Aug 7 09:35:06 CEST 2012


First, you need to follow the posting guide ... compose a self-contained example R code including sample data that is at least representative of your actual data. This will eliminate many possible misunderstandings and most likely will lead to a more rapid response to your query.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Akhil dua <akhil.dua.12 at gmail.com> wrote:

>Hi everyone,
>
>I have a time series data set and I want to fill my line plot of this
>time
>series with different colors
>
>e.g
>I want to fill portion related to 1995-1996 with blue , portion related
>to
>1996-1997 with orange and then portion related to 1997-1998 with red
>
>
>can anyone please help me.
>
>	[[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.



More information about the R-help mailing list