vs2dh.plotVariables: Plot vs2dh.plotVariables matrix time series

Description Usage Arguments Value Examples

View source: R/vs2dhPlot.R

Description

Plot vs2dh.plotVariables matrix time series

Usage

1
2
3
vs2dh.plotVariables(para = "Temp", data, ignoreBoundary = TRUE,
  ignoreZeroValues = TRUE, paraLabel = NULL, maxCol = 100,
  main = "", nodes = TRUE, ...)

Arguments

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 levelplot()

Value

Time series matrix plot

Examples

 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
                    )  

KWB-R/kwb.vs2dh documentation built on Sept. 10, 2019, 12:20 p.m.