Le 02.08.2005 14:50, Renuka Sane a écrit :
>Question on graphs:
>
>The default case for drawing a graph in R, is where a little space is left
>on the x and y axis before the first tick i.e. even if I say xlim=c(0,1) 
>there will be some space between the edge of the xaxis and where 0 is
>placed. If I want 0 on the edge, how do I do it in R?
>
>Area under the curve:
>
>I have a 45 degree line and a curve above or below it. Is there a way in R
>to find the area between the two?
>
>
>
Hi,
integrate.xy in sfsmisc package might help you.
Romain
>Thanks,
>Renuka
>

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 ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ______________________________________________Rhelp@stat.math.ethz.ch mailing list
This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005  15:01:08 EST