jsta / wql

Water Quality - Lite : Exploring Water Quality Monitoring Data

Home Page:https://jsta.github.io/wql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing low-level ggplot commands to plotTs?

jsta opened this issue · comments

For example, can we pass scale_y_continuous(trans='log10')?

library(wql)
library(ggplot2)

chl <- sfbayChla[, 1:4]
plotTs(chl, dot.size = 1.5, ylab = 'Chl-a', 
       strip.labels = paste('Station', substring(colnames(chl), 2, 3)), 
       ncol = 1, scales = "free_y") +
  scale_y_continuous(trans="log10")

Rplot