[R] Plot graph
Sarah Goslee
sarah.goslee at gmail.com
Mon Jan 4 16:51:08 CET 2010
The first one is one plot created with calls to lines() and to abline().
Yours is seven different plots.
That should be enough to get you started. This looks like it might
be homework - if so, any other questions should go to your
instructor. If not, a reproducible example would be far more likely
to get you more detailed assistance (as requested in the posting
guide). We don't even know what your data look like...
Sarah
On Mon, Jan 4, 2010 at 9:44 AM, cirtey <teycir at yahoo.fr> wrote:
>
> Hi;
> I want to obtain this graphic.
> http://n4.nabble.com/file/n998283/plot.gif
> Instead whith my code :
> par(mfrow=c(1,7),mar=c(0,0,0,0))
> plot(EntreesMoyennesMensuelles2003, type="l",main="2003",col="yellow")
> plot(EntreesMoyennesMensuelles2004, type="l",main="2004",col="red")
> plot(EntreesMoyennesMensuelles2005, type="l",main="2005",col="blue")
> plot(EntreesMoyennesMensuelles2006, type="l",main="2006",col="black")
> plot(EntreesMoyennesMensuelles2007, type="l",main="2007",col="orange")
> plot(EntreesMoyennesMensuelles2008, type="l",main="2008",col="purple")
> plot(EntreesMoyennesMensuelles2009, type="l",main="2009",col="green")
> I get this graph:
> http://n4.nabble.com/file/n998283/plot1.gif
> How can I fix that?
> Thanks
> --
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list