[R] Histogram for factors

Jan Goebel jgoebel at diw.de
Tue Jan 16 10:46:04 CET 2001


On Tue, 16 Jan 2001, Thomas Vogels wrote:

> Now the (actually not so) funny thing is that the labels for the
> x-axis disappear when I specify colors for the bars.  (R 1.2.1, Linux)
> Ok, maybe the other thing I'll have to catch up on is the docu...
> 
> Example:
>   x <- cut (rnorm (10), 3)
>   plot (x)  # has x axis (i.e. cut ranges in this silly example)
>   plot (x, col="green")  # no x axis.  Dto. for col=c("green", "red") etc.

funny ...

>   plot (x, col="green",axes=T)  # works well 

         _                
platform i686-pc-linux-gnu
arch     i686             
os       linux-gnu        
system   i686, linux-gnu  
status                    
major    1                
minor    1.1              
year     2000             
month    August           
day      15               
language R                

jan

-- 
+-----------------------------------
 Jan Goebel (mailto:jgoebel at diw.de)

 DIW Berlin 
 Longitudinal Data and Microanalysis
 Königin-Luise-Str. 5
 D-14195 Berlin -- Germany --
 phone: 49 30 89789-377
+-----------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list