Re: [R] ggplot2: font size mismatch for pdf output

From: Xavier Chardon <>
Date: Tue, 13 May 2008 09:18:04 +0200

What you can do is change the parameter "pointsize" when creating the device. See ?pdf. It will change the size of all texts (labels, legend, title...) at the same time. I tried it with png, it works quite well (provided you use the latest versions of everything, including cairo, I think).


hadley wickham a écrit :
>> More generally, how do I control the size of fonts used in legends
>> and axis labels?
> There is no general way (yet) - it is on my customisation to do list,
> which I hope to make progress on over summer.
> Hadley

Xavier Chardon
Thésard Institut de l'élevage / INRA
Projet ACTA "modélisation environnementale des systèmes bovins et porcins"
02 23 48 50 91

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 13 May 2008 - 07:28:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 13 May 2008 - 07:30:40 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive