[R] How to plot the xaxis label at 45 degree angle?

Marc Schwartz (via MN) mschwartz at mn.rr.com
Wed Mar 8 23:36:10 CET 2006


On Wed, 2006-03-08 at 16:53 -0500, Lisa Wang wrote:
> Hello there,
> 
> I would like to plot a graph with the x axis's label displayed at a 45
> angle to the x axis instead of horizontal to it as the label is very
> long. What should I do?
> 
> Thank you for your help in advance


See R FAQ 7.27 How can I create rotated axis labels?

http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f


Using:

 > RSiteSearch("rotated axis labels")

would be helpful as well.

HTH,

Marc Schwartz




More information about the R-help mailing list