[R] hist () x-axis

Gavin Simpson gavin.simpson at ucl.ac.uk
Sat Oct 13 00:33:46 CEST 2007


On Fri, 2007-10-12 at 17:41 +0200, Birgit Lemcke wrote:
> Hello all together,
> 
> I (R Beginner) think the answer for my question is easy but anyway I  
> have not found the solution.
> 
> I am using hist for a frequency histogramm. But the divisions of the  
> xaxis is to large
> 
> How can I change the division (I am not sure if this is the right  
> name for what I mean) of the xaxis, so that it shows not only 0.3 and  
> 0.4 but also 0.35?

Look at the breaks argument of hist in ?hist.

G

> 
> Thanks in advance for your help.
> 
> Regards
> 
> Birgit
> 
> Birgit Lemcke
> Institut für Systematische Botanik
> Zollikerstrasse 107
> CH-8008 Zürich
> Switzerland
> Ph: +41 (0)44 634 8351
> birgit.lemcke at systbot.uzh.ch
> 
> ______________________________________________
> R-help at 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.
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Gavin Simpson                 [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-help mailing list