Closed jordansread closed 8 years ago
Note that this is not reflected in the legend
ordering right now. I am not very familiar with that. So if we like this, we should create an issue to also include first or last in the way we append the legend contents for auto legends
added the legend re-ordering
gs = gsplot() %>% points(1:2,2:3, cex=c(2.5,1), pch=0, lwd=3, legend.name=c('points.1','points.2'), bg='cyan', xlim=c(0.5, 2.5), ylim=c(1.5,3.5)) %>%
points(1,2, pch=17, col='green', cex=4, where='first', legend.name='points.3', bg='dodgerblue') %>% legend()
gs
I tried a bunch of different combos of things, and it seems things are operating as expected.
lets us do first or last (default is "last")
part of
207