Hey everyone,

I am an R-newby... so sorry for bothering you with simple-to-solve
questions;) I have the following issue: trying to add labels to my
scatterplots (with geom_dl in ggplot2). Everything works fine, but after
checking every resource I do not find a way to change the font size of my
labels. I tried size, cex, fontsize at every position... but it always stays
the same.

ggplot()+
        opts(legend.position="none")+
        xlab("x")+ ylab("y")+
        xlim(-15,15) + ylim(0,6)+
        theme_complete_bw()+
        scale_colour_manual(values=cols)+
        geom_point(data=m, aes(x=x, y=y, colour=s), shape=19, cex=6,
alpha=0.3)+
        geom_dl(method="top.bumptwice", data=m_sig, aes(x=x, y=y,
label=gene.name, colour=s, size=10))+
        geom_line(data=m_s0, aes(x= x, y=y), linetype=5, colour="grey55",
size=0.5)

Your help is very much appreciated! Thx.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to