You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(ggplot2)
df<-data.frame(z=1:5)
p<- ggplot(df, aes(1, 1, colour=z)) + geom_point()
# Title should be centered with legendp+ theme(legend.position="top")