Re: [R] R: histograms and ylim

From: Romain Francois <francoisromain_at_free.fr>
Date: Wed 03 Aug 2005 - 18:08:31 EST

Le 03.08.2005 09:53, Clark Allan a écrit :

>hi all
>
>a very simple question once again!!!
>
>can we change the "y" range in a histogram?
>
>
>e.g.
>x=rnorm(1000)
>hist(x,ylim=0.5,prob=T) #this does not work
>
>
>any suggestions???
>
That does work :

R> hist(x,ylim=c(0,0.5),prob=T) # that does work

Romain

-- 
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    ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Aug 03 18:09:39 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:02:24 EST