[R] Fwd: axis lab font in r

John Kane jrkrideau at inbox.com
Tue Sep 17 20:42:00 CEST 2013


 http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

We need a bit of information and code about how you are using font.ab.

As far as I can see both x and y axes should be affected.

See this example from http://r.789695.n4.nabble.com/font-lab-and-font-axis-td3009882.html

x<-rnorm(100)
hist(x,axes=F,font.lab=12,font.main=9)
axis(1,font.axis=4)
axis(2,font.axis=3) 

John Kane
Kingston ON Canada

> -----Original Message-----
> From: ahmedatia80 at gmail.com
> Sent: Tue, 17 Sep 2013 11:23:02 -0500
> To: r-help at r-project.org
> Subject: [R] Fwd: axis lab font in r

> I have an a question about the axis lab font in r. I use font.lab, but
> r changes the font of x axis lab only. How I can change the font of y
> lab axis as well?
> 
> I have another problem; when I increase the size of y lab, the lab
> goes out of the graph box.
> 
> I use R version 2.15.2 (32-bit)
> 
> Thank you
> --
> Ahmed M. Attia
> 

> Research Assistant
> Dept. Of Soil&Crop Sciences
> Texas A&M University
> ahmed.attia at ag.tamu.edu
> Cell phone: 001-979-248-5215

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!



More information about the R-help mailing list