I'm trying to increase the size of the axes and the labels with a
simple parameter setup. The default is really small for a two column
paper layout. I am using:
theme_bw( base_size=20 )
It works as expected. However text is being printed outside of the PDF
canvas, more specifically it is being cropped on the right side.
How should I handle this?
Thanks in advance,
--
Sérgio Nunes
I don't know about the cropping (could you post a minimal example to
demonstrate this?) but I'm surprised you'd use a font of 20 for a
paper. For a two column layout, I would typically save a 4-inch wide
figure with ggsave(..., width=4), keeping the font size to 10. Are you
maybe resizing the plot when you insert it in your document?
Best,
baptiste
2010/1/22 Sérgio Nunes <sergio...@gmail.com>:
> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> To post to this group, send email to ggp...@googlegroups.com
> To unsubscribe from this group, send email to
> ggplot2+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ggplot2
In R, I prepare the PDFs using pdf("figs.pdf", width = 16, height = 9)
and then using ggplot or qplot with theme_bw( base_size=20 ) I plot
each chart. Given the nature of my figures, I tend to prefer this
"landscape" view.
In LaTeX, I simply include the figures with:
\begin{figure}
\centering
\includegraphics[page=13,width=0.9\columnwidth]{../plots/figs.pdf}
\end{figure}
I placed a PDF evidencing the problem here:
http://irlab.fe.up.pt/sandbox/cropped.pdf
Thanks again,
--
Sérgio Nunes
2010/1/22 baptiste auguie <bapt...@googlemail.com>:
Is there a particular reason you want a graphic of 16x9 inches and
not, say, 4x2.2?
-Ista
2010/1/22 baptiste auguie <bapt...@googlemail.com>:
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org