[R] PlotMoth Refusing to Draw xlab

Frank E Harrell Jr feh3k at spamcop.net
Thu Sep 25 13:48:31 CEST 2003


Occasionally I have had plotmath refuse to draw x-axis labels.  This has happened when the label, created using expression(paste( ) ) as below, could be drawn easily in the available space.  I have not reproduced that, but the following example with a clearly overly long label results in no xlab at all.  I hoped that at least a truncated label would be plotted.  This is probably related to my original problem.


plot(0,0,xlab=expression(paste('1234567890abcdefghijklmnopqrstuvwzyz abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPARSTUVWXYZ')))

platform i386-pc-linux-gnu
arch     i386             
os       linux-gnu        
system   i386, linux-gnu  
status                    
major    1                
minor    7.1              
year     2003             
month    06               
day      16               
language R                

Thanks for any assistance  -Frank
---
Frank E Harrell Jr    Professor and Chair            School of Medicine
                      Department of Biostatistics    Vanderbilt University




More information about the R-help mailing list