Re: [R] Vertical string with horizontal letters

2012-02-02 Thread Tyler Rinker
com; r-help@r-project.org > Date: Thu, 2 Feb 2012 13:08:17 -0500 > Subject: Re: [R] Vertical string with horizontal letters > > > > One possible solution is to use strsplit to break on each character and then > paste to put in a "\n" after each character. Then wh

Re: [R] Vertical string with horizontal letters

2012-02-02 Thread 538280
There are only a few graphics devices that honor the 'crt' setting to rotate characters differently from the string rotation (postscript is the only one I know of, and then not always). For your specific case you could do something like: > text(1,1, paste( unlist(strsplit('output','')), collapse=

Re: [R] Vertical string with horizontal letters

2012-02-02 Thread Tyler Rinker
")) plot.new()text(.5, .5, paste(y, collapse="\n")) cheersTyler > From: israelb...@hotmail.com > To: r-help@r-project.org > Date: Thu, 2 Feb 2012 17:20:17 +0000 > Subject: [R] Vertical string with horizontal letters > > >

[R] Vertical string with horizontal letters

2012-02-02 Thread Israel Byrd
I'm trying to format text on a plot such that the string is vertical but the letters are horizonal. I tried text(1,1,label="output", srt=270) This gives the string rotation I want, but that rotates the entire "output" so the letters are also rotated. I've also tried text(1,1,label="output", sr