ido
unread,Jul 22, 2009, 7:59:47 AM7/22/09Sign 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
Hi,
when doing a line plot and setting limits that exclude some data
points the line gets broken.
example:
library("ggplot2")
values <- data.frame(pos=1:7,y=c(1,1,1,5,1,1,1))
p <- ggplot(data=values,aes(x=pos,y=y)) + geom_line() +
scale_y_continuous(limits=c(0,4))
p
I would have expected to see a line going up and down again without of
course seeing the tip.
best,
ido