[R] Managing axis labels

Naser Jamil jamilnaser79 at gmail.com
Mon Mar 27 20:26:16 CEST 2017


Dear R-users,
I would like to ask probably a silly thing. For some reason, I need x-axis
and y-axis labels to be of different size. Here is a little example where I
want "ϑ" to appear bigger than "Concentration". I have tried in the
following way, but it is not working.

​
x<-seq(1,10,1)
y<-seq(2,20,2)
plot(x, y, xlab=expression(vartheta), ylab="Concentration", cex.axis=1.5)

axis(1, cex.lab=3.0)
axis(2, cex.lab=2.0)

Any suggestion will be much appreciated.

Kind Regards,
Jamil.

	[[alternative HTML version deleted]]



More information about the R-help mailing list