[R] Space between axis label and tick labels

Pikounis, Bill [CNTUS] BPikouni at CNTUS.JNJ.COM
Thu Jan 12 13:38:18 CET 2006


Hello Kare:
I think some global graphics settings can get you what you need, assuming
you are using base graphics functions such as plot(). See ?par for
comprehensive details. For the specific characteristics you mention, I have
found the arguments in par for:

> 1) font size of axis and tick labels
> 
> 2) font thickness
> 

cex.axis & cex.lab are helpful; and perhaps the font.* series

> 3) placement of both axis and tick labels

mgp & tck are helpful.

Hope that helps,
Bill

-------------------------------
Bill Pikounis, PhD
Nonclinical Statistics
Centocor, Inc.
Malvern, PA 19355 (USA)


> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Kare Edvardsen
> Sent: Wednesday, January 11, 2006 4:52 AM
> To: R-help
> Subject: [R] Space between axis label and tick labels
> 
> 
> I'm writing an publication in two column format and need to 
> shrink some 
> plots. After increasing the axis labels it does not look nice at all. 
> The y-axis label and tick labels almost touch each other and 
> the x-axis 
> tick labels expand into the plot instead of away from it. Is there a 
> better way than "cex" to control the:
> 
> 1) font size of axis and tick labels
> 
> 2) font thickness
> 
> 3) placement of both axis and yick labels
> 
> 
> Cheers,
> 
> Kare
> 
> -- 
> ###########################################
> Kare Edvardsen <kare.edvardsen at nilu.no>
> Norwegian Institute for Air Research (NILU)
> Polarmiljosenteret
> NO-9296 Tromso       http://www.nilu.no
> Swb. +47 77 75 03 75 Dir. +47 77 75 03 90
> Fax. +47 77 75 03 76 Mob. +47 90 74 60 69
> ###########################################
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list