USGS-R / gsplot

plotting foundation for timeseries reporting
Other
6 stars 14 forks source link

make mutator function for xlim & ylim #377

Closed lindsayplatt closed 8 years ago

lindsayplatt commented 8 years ago

repgen use case:

x <- seq(as.Date("2010-10-01"), as.Date("2010-10-31"), by="days")
y <- 1:31

test_gs <- gsplot() %>% 
  lines(as.POSIXct(NA), as.numeric(NA), xlim=c(min(x), max(x)),
        ylim=c(min(y), max(y)))
lindsayplatt commented 8 years ago

make accessor functions also mirrored to mutators

jordansread commented 8 years ago

using #381