powered by
plot rdwd time series from data.frames
plotDWD( x, cn, monthaxis = TRUE, line0 = FALSE, xlab = "", ylab = cn, main = "", type = "l", lwd = 3, col = "blue", las = 1, mar = c(2.6, 3.1, 2.5, 0.5), mgp = c(1.9, 0.7, 0), keeppar = TRUE, ... )
Nothing
Data.frame, e.g. from readDWD.data
Column name (charstring)
Draw nice axis? DEFAULT: TRUE
Draw horizontal line at 0? DEFAULT: FALSE
X axis label. DEFAULT: ""
Y axis label. DEFAULT: cn
Plot title. DEFAULT: ""
graphics::plot type. DEFAULT: "l"
Line width. DEFAULT: 3
Line color. DEFAULT: "blue"
Label axis style. DEFAULT: 1 (all upright)
Plot margins. DEFAULT: c(2.6, 3.1, 2.5, 0.5)
Margin placement. DEFAULT: c(1.9, 0.7, 0)
Keep las, mar and mgp as set with par, so later points are added in the right location? DEFAULT: TRUE
las, mar and mgp
Further arguments passed to graphics::plot
Berry Boessenkool, berry-b@gmx.de, Sep 2021
readDWD()
link <- selectDWD("Potsdam", res="daily", var="kl", per="r") clim <- dataDWD(link, dir=locdir(), varnames=TRUE) plotDWD(clim, "TMK.Lufttemperatur", line0=TRUE, main="Potsdam")
Run the code above in your browser using DataLab