title: heatmap ggplot2 color ramp (scale_fill_gradient)
body: <p>I am trying to plot a heat map with ggplot2 and I would like to resize the colorbar and increase the font. </p>
  
  <p>Here is the relevant part of the code:</p>
  
  <pre><code>g &lt;- ggplot(data=melt.m)
  g2 &lt;- g+geom_rect(aes(xmin=colInd-1, xmax=colInd, 
    ymin=rowInd-1, ymax=rowInd, fill=value))
  
  g2 &lt;- g2+scale_x_continuous('beta', breaks=c(1, ceiling(cols/2), rows)-0.5, 
    labels=c(1,ceiling(cols/2), rows))
  g2 &lt;- g2+scale_y_continuous('alpha', breaks=c(1, ceiling(rows/2), rows)-0.5, 
    labels=c(1, ceiling(rows/2), rows))
  
  g2 &lt;- g2+opts(panel.grid.minor=theme_line(colour=NA),
    panel.grid.major=theme_line(colour=NA),
    panel.background=theme_rect(fill=NA, colour=NA), 
    axis.text.x=theme_text(size=30),
    axis.text.y=theme_text(size=30, angle=90), 
    axis.title.x=theme_text(size=30),
    axis.title.y=theme_text(size=30, angle=90), title = title)
  
  heatscale &lt;- c(low='ghostwhite', high='steelblue')
  
  g2 &lt;- g2+scale_fill_gradient("", heatscale[1], heatscale[2], bias = 10)
  </code></pre>
  
  <p>It works fine, the problem is that the color legend on the right side is too small. Is there a way to make the color legend bigger and increase the font size of the legend?</p>
  
  <p>Thanks,</p>
  
  <p>kz</p>