plot.Qm3s {airGRiwrm}R Documentation

Plot of a Qm3s object (time series of simulated flows)

Description

Plot of a Qm3s object (time series of simulated flows)

Usage

## S3 method for class 'Qm3s'
plot(
  x,
  type = "l",
  xlab = "Date",
  ylab = expression("Flow (m"^"3" * "/s)"),
  main = "Simulated flows",
  col = rainbow(ncol(x) - 1),
  legend = colnames(x)[-1],
  legend.cex = 0.7,
  legend.x = "topright",
  legend.y = NULL,
  lty = 1,
  ...
)

Arguments

x

data.frame with a first column with POSIXt dates and followings columns with flows at each node of the network

type

character plot type (See plot.default), default "l"

xlab

character label for the x axis, default to "Date"

ylab

character label for the y axis, default to "Flow (m3/s)"

main

character main title for the plot, default to "Simulated flows"

col

character plotting color (See par), default to rainbow colors

legend

character see parameter legend of legend. Set to NULL if display of the legend is not wanted

legend.cex

character cex parameter for the text of the legend (See par)

legend.x, legend.y

Legend position, see x and y parameters in graphics::legend

lty

character or numeric The line type (See par)

...

Further arguments to pass to the matplot functions

Value

Screen plot window.


[Package airGRiwrm version 0.6.2 Index]