[R] Boxplot names format

Jose Sierra jose.sierra at integromics.com
Wed Apr 11 11:31:23 CEST 2007


Thank you very much Peters..... it runs !!!!

Peter Danenberg escribió:
>> I create a boxplot but the names are too longs and i cant see them
>> complete.
>>     
>
>      If you're referring to labels on the x-axis, Jose, I'll
> sometimes rotate them and increase the bottom margin:
>
>      # Increase bottom margin by 0.1
>      par(omd=c(0,1,0.1,1))
>      boxplot(...)
>      # Add perpendicular labels
>      axis(1, at=1:length(labels), labels=labels, las=2)
>
>      For another strategy, see "Kickstarting R: Text in  the
> margins."*
>
> Best, Peter
>
> -----------
>   * http://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_mtext.html
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
>
>



More information about the R-help mailing list