plot: Plot transfR object

plotR Documentation

Plot transfR object

Description

Plot transfR object.

Usage

## S3 method for class 'transfR'
plot(
  x,
  y,
  i,
  attribute,
  main = sprintf("Catchment %i", i),
  xlab,
  ylab,
  format,
  at,
  nticks = 5,
  type = "l",
  lwd = 2,
  las = 1,
  cex.names = 1,
  col = c("#045a8d", "#fb8072", "#bebada", "#ffffb3", "#8dd3c7"),
  keeplocal = TRUE,
  ...
)

Arguments

x

transfR object

y

ignored

i

spatial index to plot

attribute

attribute of the transfR object to plot

main

a main title for the plot, see also title

xlab

a label for the x axis, defaults to a description of x

ylab

a label for the y axis, defaults to a description of y

format

format for labels of time series on x axis

at

a date-time or date object for ticks on x axis

nticks

number of ticks on x axis

type

1-character string giving the type of plot desired (for details, see plot)

lwd

the line width (for details, see par)

las

the style of axis labels (for details, see par)

cex.names

expansion factor for axis names (for details, see barplot)

col

a specification for the default plotting color (for details, see par)

keeplocal

boolean to preserve local graphical parameters

...

further specifications, see plot

Examples

data(Oudon)
object <- as_transfr(st = Oudon$obs, hl = Oudon$hl)
plot(object, attribute = "Qobs")

transfR documentation built on Oct. 2, 2023, 5:07 p.m.