Description Usage Arguments Value Examples
Plot vs2dh.plotVariables matrix time series
1 2 3 |
para |
either "Temp" (for temperature) or "PressureHead" |
data |
as returned by vs2di.run() in sublist "variables" |
ignoreBoundary |
should boundary nodes (first/last column/row) be ignored? Default: TRUE |
ignoreZeroValues |
if TRUE 0 values will be set to NA (Default: TRUE) |
paraLabel |
optional parameter for changing the label text of the parameter (if not used the value in "para" is used for labelling) |
maxCol |
maximum number of colors to be used for colorramp |
main |
Additional text for main label (e.g. model name) |
nodes |
if TRUE node numbers are used as x-/y-axis; if false spatial extent is derived returned in model units (currently not implemented!) |
... |
further parameters passed to |
Time series matrix plot
1 2 3 4 5 6 7 8 9 10 11 12 13 | ### Location of example vs2dh model contained in "kwb.vs2dh package"
modelName <- "tutorial2"
model.path <- system.file("extdata", "vs2dh_example", modelName, package = "kwb.vs2dh")
res <- vs2di.run(model.path = model.path)
vs2dh.plotVariables ( para = "Temp",
data = res$variables,
paraLabel = "Temperature (\u00B0\ C)",
main = modelName)
vs2dh.plotVariables (para = "PressureHead",
data = res$variables,
paraLabel = "Pressure head (m)",
main = modelName
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.