Skip to content
Back to formatted view

Raw Message

Message-ID: <42EF7F3C.609@free.fr>
Date: 2005-08-02T14:12:12Z
From: Romain Francois
Subject: plotting 3 functions on same graph
In-Reply-To: <IKLLE8$41AAC3803431D01EC771CD67227D50A1@oreka.com>

Le 02.08.2005 15:56, herodote at oreka.com a ??crit :

>hi all,
>
>I wish to draw on the same graphic device 3 functions.
>
>But i don't want them to be on different graph, i want to compare them on the same
>
>I don't need mfrow or mfcol, I need something else... 
>
>1 graph on 1 device inside this graph 3 ploted function.
>
>I saw something unsing data.frame, but i think it's overkill, and something less complicated must exist, if not why?
>
>why not plot(func1,func2,func3) ??
>
>thks.
>  
>
Take a look at :
?points
?lines
?curve
par(new=TRUE)

-- 
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
~~~~~~      Romain FRANCOIS - http://addictedtor.free.fr         ~~~~~~
~~~~        Etudiant  ISUP - CS3 - Industrie et Services           ~~~~
~~                http://www.isup.cicrp.jussieu.fr/                  ~~
~~~~           Stagiaire INRIA Futurs - Equipe SELECT              ~~~~
~~~~~~   http://www.inria.fr/recherche/equipes/select.fr.html    ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~