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]]
On May 4, 2009, at 3:04 PM, phoebe kong 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?This worked in a plot I hapened to have lying around: text(1,1,"test", srt=90)>David Winsemius, MD Heritage Laboratories West Hartford, CT
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