USGS-R / gsplot

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

overlap/overwrite axis calls #408

Closed lindsayplatt closed 7 years ago

lindsayplatt commented 7 years ago
gs <- gsplot() %>% 
    points(0:1,0:1) %>% 
    axis(side=1, at=c(0.5,1)) %>% 
    axis(side=1, at=c(0.25, 0.75))
gs

Should plot have 0.25, 0.5, 0.75, and 1 ticks to match base behavior?

image

Suggestion:

gs <- gsplot() %>% 
    points(0:1,0:1) %>% 
    axis(side=1, at=c(0.5,1)) %>% 
    axis(side=1, at=c(0.25, 0.75), append=TRUE)
gs
lindsayplatt commented 7 years ago

closed by #410