Alexa
unread,Oct 26, 2010, 10:49:10 PM10/26/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggplot2
Hey all,
I'm using pointrange() so that I have a line graph with points and
error bars. I'd like to be able to change the shape of the points. I'm
trying,
G <- ggplot(new.data,aes(x=X,y=value,linetype=variable))+
geom_line(size = 0.2) +
scale_x_continuous("JD - 2450000", breaks = c(5100, 5150, 5200, 5250,
5300, 5350), labels = c("5100", "5150", "5200", "5250", "5300",
"5350")) +
scale_y_continuous("Intensity (Arbitrary Units)") +
coord_cartesian()
Graph3 <- Graph2 + geom_pointrange(aes(ymax = value + error, ymin =
value - error))
Graph3 + scale_shape_manual(values = c(1,20))
But my scale_shape_manual is not changing anything, I've tried several
values. Any suggestions?