I've been trying to use ggplot2 to plot means and standard errors. I
increased the size of the png outputs to make them crisp at higher
resolution, but this makes the font tiny on the axes and axes labels.
I looked up how to do it, but I can't even get the examples to work.
From http://had.co.nz/ggplot2/book.pdf :
qplot(mpg, wt, data=mtcars, facets = . ~ cyl)
grid.gedit("label", gp=gpar(fontsize=14, col="red"))
I get:
Error in editDLfromGPath(gPath, specs, strict, grep, global,
redraw) :
'gPath' (label) not found
Is there a different way to do it that I'm unaware of. Have things
changed in a newer version that the documentation hasn't caught up
with yet?
Thanks,
Brandon
--
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
I didn't realise that copy of the book was still up on the web - it's
very out of date.
You can probably fix the problem using
theme_set(theme_grey(fontsize)), but that shouldn't be necessary - you
should be adjusting the png dpi not the overall size. It's difficult
to know what's going wrong without a reproducible example.
Hadley
> --
> 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
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/