R ggplot覆盖图例中的符号以仅显示直线
我只想在我的图例中显示线条(而不是十字)R ggplot覆盖图例中的符号以仅显示直线,r,ggplot2,R,Ggplot2,我只想在我的图例中显示线条(而不是十字) example.dat向您不需要图例的geom添加show.legend=FALSE,例如: geom_linerange(aes(ymin = -(plogis(lower)-0.5), ymax = - (plogis(upper)-0.5)), position = position_dodge(0.02), size = 1, show.legend
example.dat向您不需要图例的geom
添加show.legend=FALSE
,例如:
geom_linerange(aes(ymin = -(plogis(lower)-0.5), ymax = - (plogis(upper)-0.5)),
position = position_dodge(0.02),
size = 1,
show.legend = FALSE)
geom_linerange(aes(ymin = -(plogis(lower)-0.5), ymax = - (plogis(upper)-0.5)),
position = position_dodge(0.02),
size = 1,
show.legend = FALSE)