Closed ldecicco-USGS closed 8 years ago
If a config file has something that is not defined in default: superFat.yaml:
lwd: 3 lines: lwd: 3 abline: col: "grey" lty: 1 lwd: 1
Then:
df <- data.frame(x = 1:10, y=1:10, z = seq(2,20,2)) loadConfig("D:/LADData/RCode/gsplot/superFat.yaml") gsp <- gsplot() %>% lines(df$x, df$y, col="red", legend.name = "points") %>% lines(df$x, df$z, legend.name = "lines") %>% legend() gsp
Makes this:
Then do:
loadConfig() gsp <- gsplot() %>% lines(df$x, df$y, col="red", legend.name = "points") %>% lines(df$x, df$z, legend.name = "lines") %>% legend() gsp
and you still get:
So, we need to make some sort of "clear all" function
If a config file has something that is not defined in default: superFat.yaml:
Then:
Makes this:
Then do:
and you still get: