s-news
[Top] [All Lists]

Re: Rotating axis labels in post script graphic device

To: "Kleijn, H.J. (Huub Jan)" <huubjan.kleijn@organon.com>
Subject: Re: Rotating axis labels in post script graphic device
From: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Date: Fri, 30 Jan 2004 10:52:17 +0000 (GMT)
Cc: s-news <s-news@wubios.wustl.edu>
In-reply-to: <B87235C46412D611804F00508BB33C57AF14D9@capella2.oss.akzonobel.nl>
On Fri, 30 Jan 2004, Kleijn, H.J. (Huub Jan) wrote:

> Dear All,
> I would like to add an axis to the right side of mij graph which is outputed
> as a postscript file. The srt option to counterclockwise a string does not
> work because the postscript device ignores it. Anyone with a solution out
> there?

I presume you are using axis.  Its documentation says

  If at is not given, then axis uses the the following procedure to place
  the tick mark labels. axis rotates the tick mark labels to be parallel to
  the axes if the graphical parameter las is 0, horizontal if las is 1, and
  perpendicular to the axes if las is 2. (This overrides the current value
  of the graphical parameter srt .)

So I suspect you want to use las, unless you did give `at'.

I am not aware of any difference due to the use of postscript(), but 
there are different versions of that in different versions of S-PLUS so we 
would need more details.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


<Prev in Thread] Current Thread [Next in Thread>