3 ms·
I've heard all good things about ggplot2 and I sincerely believe they're true. However, my only experience has been trying to plot 2 overlapping timeseries that
by bglazer 12y ago
I've heard all good things about ggplot2 and I sincerely believe they're true. However, my only experience has been trying to plot 2 overlapping timeseries that didn't have the same length to the same plot area. I found that to be nearly impossible in ggplot2 and almost trivial with the builtin plot and lines commands in R.
Like a lot of good tools, it seems that ggplot2 makes the common case extremely easy, but it can be a struggle to make it work in uncommon situations.
- alaiacano 12y ago> s1 <- data.frame(x=c(1,2,3), y=c(7,8,7),series=rep("s1", 3)) > s2 <- data.frame(x=c(1,2,3,4), y=c(6,7,6,7), series=rep("s2", 4)) > s <- rbind(s1, s2) > qplot(x, y, data=s, geom=c('point', 'line'), color=series)
- bglazer 12y agoThanks. I guess this speaks more to my lack of lack of experience.