[R] how to rotate y-axis tick labels

Marc Schwartz marc_schwartz at comcast.net
Tue Feb 3 18:06:41 CET 2009


on 02/03/2009 11:01 AM Hong Qin wrote:
> Hello,
> 
> I need advice on how to rotate the y-axis tick labels by 90 degree
> clockwise. This must be a question that has been asked frequently, but I did
> not find it in the archived R-help messages.

See ?par and take note of 'las':

  # Default 'las = 0'
  plot(1)

  plot(1, las = 1)

  plot(1, las = 2)

  plot(1, las = 3)

HTH,

Marc Schwartz




More information about the R-help mailing list