[R] Font size in plots (I do NOT understand par help)

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 6 17:03:45 CEST 2008


On Wed, 6 Aug 2008, Stephane Bourgeois wrote:

> Hi,
>
>
>
> I do not get how par works, help please.
>
>
>
> Let's say I have a simple plot: plot(1:10)
>
>
>
> I want to change the font size for the x axis... how do I do that?

You mean of the tick labels (as distinct from the ylab)?  Look at

plot(1:10, xaxt="n")
axis(1, cex.axis=1.5)

and then look up ?par for the descriptions.

>
>
>
> Thank you,
>
>
>
> Stephane
>
>
>
>
> -- 
> The Wellcome Trust Sanger Institute is operated by Genome Research
>
> Limited, a charity registered in England with number 1021457 and a
> compa
> ny registered in England with number 2742969, whose registered
> office is 2
> 15 Euston Road, London, NW1 2BE.
>
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list