?par see las This should work ------------------------------------------- plot(0,0,xaxt="n", type="n", ylim=c(0,100), las=1, ) mtext("35",side=2,at=35, line =1, las=1) ------------------------------------------- --- Rebecca Ding <[EMAIL PROTECTED]> wrote:
> Dear R users, > > I used plot() and mtext() functions to draw a plot. > The numbers: 0,20,35, > 40,60,80,100 were in the vertical direction. I'd > like to transfer them into > the horizontal direction. > > plot(0,0,xaxt="n",type="n", ylim=c(0,100)) > mtext("35",side=2,at=35) > > Any suggestion? > > Thanks. > > Rebecca > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, > reproducible code. > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.