Hi John,
On Mon, Nov 4, 2013 at 8:25 AM, John Kane wrote:
> As a starting point perhaps have a look at legend.key.size (unit)
> in ?theme.
That will change the size of the legend key, not the size of the
aesthetics inside the legend. For that you need to use override.aes in
guide_legend, as I pr
As a starting point perhaps have a look at legend.key.size (unit)
in ?theme. It may do something like what you want with some tweaking. My
quick and dirty example just applies the command to both legends.
pl<-ggplot(dat1,aes(x=Importance,y=Performance,fill=PBF,size=gapsize))+
geom_point
You can override the legend aesthetics, e.g.,
ggplot(df,aes(x=Importance,y=Performance,fill=PBF,size=gapsize))+
geom_point(shape=21,colour="black")+
scale_size_area(max_size=pointsizefactor) +
scale_fill_discrete(guide = guide_legend(override.aes = list(size = 4)))
Best,
Ista
On Thu,
3 matches
Mail list logo