Skip to content

help with ggplot legend specification

1 message · Ista Zahn

#
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, Oct 31, 2013 at 4:08 PM, Conklin, Mike (GfK)
<Mike.Conklin at gfk.com> wrote: