[R] ggplot2 Increase font size
istazahn at gmail.com
Mon Feb 25 15:54:53 CET 2013
On Mon, Feb 25, 2013 at 9:44 AM, Alaios <alaios at yahoo.com> wrote:
> Dear all,
> I am using the code as below
> tdm <- melt(matrixToPlot)
> p<- ggplot(tdm, aes(x = Var2, y = Var1, fill = factor(value))) +
> labs(x = "Mz", y = "T", fill = "D") +
> geom_raster(alpha=1) +
> scale_fill_discrete(h.start=1) +
> scale_x_continuous(expand = c(0, 0)) +
> scale_y_continuous(expand = c(0, 0))
> to plot an two dimensional image .
> I would like to ask your help to replace the gray border with white color
> and increase the font size of x and y axis as wells as the legend of the
> color bar. Could you please give me the function names to use?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help