Re: [R] histogram break width

2012-03-29 Thread David Winsemius
On Mar 29, 2012, at 10:12 AM, Sarah Goslee wrote: See below: On Thu, Mar 29, 2012 at 10:05 AM, Vihan Pandey wrote: Hi all, I am generating histograms with the following R script : #!/usr/bin/Rscript out_file = "histo.png" png(out_file) scan("values.csv") -> myvalues hist(myvalues, brea

Re: [R] histogram break width

2012-03-29 Thread Sarah Goslee
See below: On Thu, Mar 29, 2012 at 10:05 AM, Vihan Pandey wrote: > Hi all, > > I am generating histograms with the following R script : > > #!/usr/bin/Rscript > > out_file = "histo.png" > png(out_file) > > scan("values.csv") -> myvalues > hist(myvalues, breaks = 50) > > dev.off() > > print(paste(

[R] histogram break width

2012-03-29 Thread Vihan Pandey
Hi all, I am generating histograms with the following R script : #!/usr/bin/Rscript out_file = "histo.png" png(out_file) scan("values.csv") -> myvalues hist(myvalues, breaks = 50) dev.off() print(paste("Plot was saved in:", getwd())) I want the histogram to have a larger number of breaks, b