[R] Plotting x-axis labels perpendicular to the axis

David Winsemius dwinsemius at comcast.net
Wed Oct 6 00:23:16 CEST 2010


On Oct 5, 2010, at 6:13 PM, ANJAN PURKAYASTHA wrote:

> Hi,
> The following command: axis(1, at= 1:50, labels= sampleNames(data))  
> produces
> an X-axis with 50 ticks and labels drawn from the sampleNames  
> namespace.
> Problem is the labels at each tick are printed parallel to the x- 
> axis and
> thus run into each other. How do I specify for the labels to be  
> printed
> perpendicular to the x-axis?

?par

..., las=2, ...
..., las=3, ...


> Thanks in advance.
> Anjan
>
> -- 
> ===================================
> anjan purkayastha, phd.
> research associate
> fas center for systems biology,
> harvard university

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list