[R] moving text labels in plot

jim holtman jholtman at gmail.com
Sun Jul 26 20:42:55 CEST 2009


Try this:

par(mar=c(4,6,2,1))
plot(0, xlab = expression(paste("Temperature (C"^o,")")),
   ylab = "" ,las=1,pch=19,
   xlim=c(0,32),ylim=c(0,0.03),xaxs = "i", yaxs = "i")
mtext(expression(paste("Development rate (d"^-1,")")), 2, line=4)

2009/7/26 Luis Iván Ortiz Valencia <liov2067 at gmail.com>:
> Hi R users
>
> I need to specify some parameter input in plot code to move Y text label to
> left.
>
> plot(temp, develo_rate, xlab = expression(paste("Temperature (C"^o,")")),
>    ylab = expression(paste("Development rate (d"^-1,")")),las=1,pch=19,
>    xlim=c(0,32),ylim=c(0,0.03),xaxs = "i", yaxs = "i")
>
> Plot result is added.
>
> any help?
>
> Ivan
>
> ______________________________________________
> R-help at r-project.org 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.
>
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list