[R] Plot-region not complete

Markus Häge markus_haege at gmx.de
Sat Nov 28 18:09:21 CET 2009


Hello there,

after I solved many problems in the last days with R I wanted to
complete my plot. I used
ylab=expression(paste("log(",mu,"/",cm^2,"/VS)"))
to have greek symbols and to change cm^2 to cm². Also cm^-3 I have in
another plot, but it cuts my ^2 to _ in the y-axis.

here is the code and I attach the plot:

jpeg(file="Tabh2.jpg",quality=100)
plot(Temp3,bew2log,xlab="log(T/K)",ylab=expression(paste("log(",mu,"/cm^2/VS)")),xlim=range(c(Temp3)),cex.axis=1.5,cex.lab=1.5)
abline(reg=fitbew,lty=1)
lines(Temp3,bewt2,lty=2)
legend(1.932,2.9,c("Experiment"),pch=1,bty="n")
legend(1.9,2.88,c("Regression","Theorie"),bty="n",lty=c(1,2))
dev.off()

Somewhere I have to add a bigger plot-region... and I don't know the
code.

thanks

Markus


More information about the R-help mailing list