Skip to content
Back to formatted view

Raw Message

Message-ID: <efb536d50905041233y6f58e5d8n3b32d47f1efebd5f@mail.gmail.com>
Date: 2009-05-04T19:33:56Z
From: Sarah Goslee
Subject: rotate texts
In-Reply-To: <cf29fdc90905041204g89058e2gc79b019d64e21a00@mail.gmail.com>

If you read the help for text() you come to this bit:

     Text can be rotated by using graphical parameters 'srt' (see
     'par'); this rotates about the centre set by 'adj'.

So setting srt will do it (give rotation in degrees), e.g.

text(2, 2, "Example", srt=90)

Sarah

On Mon, May 4, 2009 at 3:04 PM, phoebe kong <sityeekong at gmail.com> wrote:
> Hi all,
>
> I'm hoping to add texts into a plot. I'm using text() to do it. I wonder if
> the text() allow me to make the text vertically printed?
>
> Thanks in advance for help,
> phoebe
>
> ? ? ? ?[[alternative HTML version deleted]]
>


-- 
Sarah Goslee
http://www.functionaldiversity.org