powered by
Clone ggplot2 scales from compiled ggplot objects returns not the original call but the nested call
cloneScales(p, verbose = FALSE)
ggplot scale or script (depends on verbose)
ggplot object
boolean, if TRUE then returns script to eval(parse) if FALSE returns new compiled object Default: FALSE
# p <- pList$pointSmooth+scale_colour_continuous(low='red') # p # pList$pointSmooth+cloneScales(p)
Run the code above in your browser using DataLab