This could be as simple as looking at the parameter "axis.text.x" and thinking
"maybe there is another parameter called axis.text.y that I could try" and
reading the ggplot2 help pages for the theme and element_text functions. If not
then you need to make your example complete enough (including
Thanks Ulrik for this, This is my first experience in heat maps. Yours
advise for the theme would be appreciated.
Greg
On Fri, Mar 10, 2017 at 10:08 AM, Ulrik Stervbo
wrote:
> Hi Greg,
>
> ?theme
>
> You can use the axis.text and axis.title if y and x are to be
Hi Greg,
?theme
You can use the axis.text and axis.title if y and x are to be identical, or
axis.text.x, axis.text.y, axis.title.x, axis.title.y if you need different
font size.
HTH
Ulrik
On Fri, 10 Mar 2017 at 15:47 greg holly wrote:
> Hi all;
>
> The followings are
Hi all;
The followings are my R codes for heat maps in ggplot2. I need to specify
the font size for the y-axis (x-axis works) as well as font size for label
y and x too. Your help highly appreciated.
Thanks,
Greg
qplot(x=Var1, y=Var2, data=melt(cor(a, use="p")), fill=value, geom="tile") +
4 matches
Mail list logo