Re: [R] Space between axis label and tick labels

From: Pikounis, Bill [CNTUS] <BPikouni_at_cntus.jnj.com>
Date: Thu 12 Jan 2006 - 23:38:18 EST


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@stat.math.ethz.ch
> [mailto:r-help-bounces@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@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@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
>



R-help@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 Received on Thu Jan 12 23:48:19 2006

This archive was generated by hypermail 2.1.8 : Fri 13 Jan 2006 - 02:03:05 EST