I have a plot with three different legends: one for linetype, one for color, and one for fill. In the color and fil
linetype
color
fill
fil
Using:
ggplot(df, aes(x,y,fill=con)) + geom_bar(stat='identity') + geom_point(aes(color=col)) + geom_hline(data=hline_df,aes(yintercept=y,linetype=name),color='red',show_guide=FALSE) + guides(linetype=FALSE,color=FALSE)
gives me this plot: