Skip to content
Back to formatted view

Raw Message

Message-ID: <498879A1.1020504@comcast.net>
Date: 2009-02-03T17:06:41Z
From: Marc Schwartz
Subject: how to rotate y-axis tick labels
In-Reply-To: <613e821b0902030901o70b10dccj2506cc1fd0aa3f64@mail.gmail.com>

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