Re: [R] scaling x-axis in hist function

2007-11-09 Thread Henrique Dallazuanna
code > with my code written above? > > > > Thanks a lot! > > > > manisha > > > > ________________ > > From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED] > Sent: Friday, November 09, 2007 2:51 PM > To: Manisha Brahmachary &g

Re: [R] scaling x-axis in hist function

2007-11-09 Thread Manisha Brahmachary
, what does runif(50,0,1) mean? How do I intergrate your code with my code written above? Thanks a lot! manisha _ From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 2:51 PM To: Manisha Brahmachary Cc: [EMAIL PROTECTED] Subject: Re: [R] scaling x-axis

Re: [R] scaling x-axis in hist function

2007-11-09 Thread Henrique Dallazuanna
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 regard

[R] scaling x-axis in hist function

2007-11-09 Thread Manisha Brahmachary
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,