USGS-R / gsplot

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

grid - not automatically using defined ticks #393

Closed lindsayplatt closed 8 years ago

lindsayplatt commented 8 years ago

axis_axTicks seems to be ignoring my defined side, so the grid lines are not going to the specified tick marks (and they should be if I specify "at").

s <- as.POSIXct("2010-10-01")
e <- as.POSIXct("2015-10-01")
x <- seq(s,e, by="months")
x_yr <- seq(s,e,by="years")

gs <- gsplot() %>% 
  view(xlim=c(0,10), ylim=c(9,10)) %>% 
  axis(side=1, at=1:2, labels=FALSE) %>% 
  grid(col="lightgrey", lty=1)
gs

image