I seem to remember this coming up before, but I can't find it any messages I've saved or in the archives (searching by subject). I want to rotate mtext so that it's perpendicular to the right side. I tried srt=90 and lots of other values, but it seems to be ignored. Is there a way to do this? ______________________________________________________________________ Stuart Luppescu -=-=- University of Chicago $(B:MJ8$HCRF`H~$NIc(B -=-=- s-luppescu at uchicago.edu http://www.consortium-chicago.org/people/sl.html http://musuko.uchicago.edu/pubkey.asc for PGP Public Key ICQ #21172047 AIM: psycho7070 Lack of capability is usually disguised by lack of interest.>> Sent on 01-Feb-2001 at 10:00:03 with xfmail-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 10:02 01/02/01 -0600, you wrote:>I seem to remember this coming up before, but I can't find it any messagesI've>saved or in the archives (searching by subject). I want to rotate mtext sothat>it's perpendicular to the right side. I tried srt=90 and lots of othervalues,>but it seems to be ignored. Is there a way to do this? >______________________________________________________________________ >Stuart Luppescu -=-=- University of ChicagoTry to change the graphical parameter "las" to: par(las=1) Emmanuel Paradis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 15:35 04/02/01 -0600, you wrote:>On 02-Feb-2001 Emmanuel Paradis wrote: >> At 10:02 01/02/01 -0600, you wrote: >>>I seem to remember this coming up before, but I can't find it any messages >> I've >>>saved or in the archives (searching by subject). I want to rotate mtext so >> that >>>it's perpendicular to the right side. I tried srt=90 and lots of other >> values, >>>but it seems to be ignored. Is there a way to do this? >>>______________________________________________________________________ >>>Stuart Luppescu -=-=- University of Chicago >> >> Try to change the graphical parameter "las" to: >> >> par(las=1) > >I tried this, but whatever I put in for las I always got the textparallell to>the vertical axis. I put las=1 and las=2 both in the mtext call and in par() >with the same results each time.This works here both on Solaris 2.7 and WinNT 4.0 (R-1.2.1): par(las=1) plot(1:10) mtext("top", side=3) # the text is mtext("right", side=4) # horizontal par(las=2) plot(1:10) mtext("top", side=3) # the text is mtext("right", side=4) # perpendicular to the axis Emmanuel Paradis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 05-Feb-2001 Emmanuel Paradis wrote:> At 10:28 05/02/01 +0100, Uwe Ligges wrote: >>s-luppescu at uchicago.edu wrote: >>> On 02-Feb-2001 Emmanuel Paradis wrote: >>> > Try to change the graphical parameter "las" to: >>> > >>> > par(las=1) >>> >>> I tried this, but whatever I put in for las I always got the text > parallell to >>> the vertical axis. I put las=1 and las=2 both in the mtext call and in > par() >>> with the same results each time. >> >>Works for me (R-1.2.1, NT4.0): >> >> par(las=1) >> plot(1:10) >> mtext("A", 4, line=1) > > This works for me too on Solaris 2.7 (R-1.2.1): > > par(las=1) > plot(1:10) > mtext("top", side=3) # the text is > mtext("right", side=4) # horizontal > > par(las=2) > plot(1:10) > mtext("top", side=3) # the text is > mtext("right", side=4) # perpendicular to the axisThis simple example works for me, too. I think my problem is that I have some other parameters on the line which prevents las or srt from working correctly. Here's the line I'm trying to print:> mtext(rev(rownames(mdfname.2))[i], side=4, outer=T,+ at=(((i-1) * 2 + 1) /(2* rowdim)), cex=0.7, las=2, srt=90) Maybe it's the at that's preventing it from working. Is there a way around this? ______________________________________________________________________ Stuart Luppescu -=-=- University of Chicago $(B:MJ8$HCRF`H~$NIc(B -=-=- s-luppescu at uchicago.edu http://www.consortium-chicago.org/people/sl.html http://musuko.uchicago.edu/pubkey.asc for PGP Public Key ICQ #21172047 AIM: psycho7070 A soft answer turneth away wrath; but grievous words stir up anger. -- Proverbs 15:1>> Sent on 05-Feb-2001 at 08:45:32 with xfmail-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._