Perhaps you can do: x <- runif(50, 0,1) hist(x, axes=F) axis(2) axis(1, at=seq(0,1, by=0.1), labels=seq(0,1, by=0.1))
-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O On 09/11/2007, Manisha Brahmachary <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have a query regarding usage of hist (histogram) function in R. > > > > I have a data where the range of the x -axis is from 0.0-1.0. When I use > hist the ticks on the x-axis it gives me by default is at > 0.0,0.2,0.4,0.6,0.8 and 1.0. > > If I want more ticks such that the x-axis has 0.0,0.1,0.2,0.3...till 1.0 > what parameter should I use in the hist function? > > > > > > Thanks > > manisha > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > [[alternative HTML version deleted]]
______________________________________________ R-help@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.