[R] how to get xlab and ylab in bold?

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Sep 12 14:55:23 CEST 2011



On 12.09.2011 12:30, Nevil Amos wrote:
> A very basic query
>
> This code plots OK the axis values are in bold but the axis labels are
> not. how do I get them in bold too?

Add

  font.lab=2

Uwe Ligges



> thanks
>
> Nevil Amos
>
> plot(c(1,1),xlim=c(0,450),ylim=c(0.7,1.4),xlab="Distance (cells) from
> edge of grid",ylab="Resistance distance",
> type="l",col="white",lwd=2,font=2,family='sans')
>
> ______________________________________________
> 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.



More information about the R-help mailing list