[R] Change title size in plot(model)?

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Oct 3 12:33:17 CEST 2007


On Wed, 3 Oct 2007, bernhard.mueller at art.admin.ch wrote:

> I want to use the plot(model) function to generate Tukey-anscomb and Q-Q 
> plots of a lm(). I manage to change all labels but the main one which 
> apparently is neither main or sub. So far I have tried as par setting: 
> cex (changes symbol size within the plot), cex.main (no effect), cex.sub 
> (no effect) cex.lab (changes label size), cex.axis (changes axis label 
> size). What I would like to change is the label that says: "Residuals 
> vs. Fitted" and "Q-Q normal". So what other cex commands are there? THX 
> for any help.

As the footer says

PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Those are not labels generated by plot.lm, although similar ones are.
And you seem to be talking about changing _the size_, not changing the 
label (which you do via the caption argument).

I think you are referring to the 'caption' argument, which is not a title 
but plotted by mtext.  The size there is not afffected by any par() 
setting, and probably should be controlled by an argument to plot.lm.

>
>
> Bernhard Müller
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Eidgenössisches Volkswirtschaftsdepartement EVD
> Forschungsanstalt Agroscope Reckenholz-Tänikon ART
> Ökologische Landbausysteme
>
> Reckenholzstrasse 191,  CH-8046 Zürich
> Tel.    ++41 (0)44 / 377 74 47
> FAX     ++41 (0)44 / 377 72 01
> mailto:bernhard.mueller at art.admin.ch
> http://www.reckenholz.ch
>
>
> 	[[alternative HTML version deleted]]
>
>

-- 
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