[R] ggplot2: font size mismatch for pdf output

Xavier Chardon xavier.chardon at rennes.inra.fr
Tue May 13 09:18:04 CEST 2008


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

Xavier

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"

xavier.chardon at inst-elevage.asso.fr
xavier.chardon at rennes.inra.fr
02 23 48 50 91



More information about the R-help mailing list