imageDraw: Image plot with twilights

View source: R/interactive.R

imageDrawR Documentation

Image plot with twilights

Description

Image plot with twilight points and ribbons

Usage

imageDraw(tagdata = NULL, twilights = NULL, offset = 0, xlim = NULL,
  mark = NULL, points.col = NULL, ribbon.col = NULL, zlim = c(0, 64),
  point.cex = 0.6)

Arguments

tagdata

a dataframe with columns Date and Light that are the sequence of sample times (as POSIXct) and light levels recorded by the tag.

twilights

dataframe of twilight times as generated by findTwilights.

offset

the starting hour for the vertical axes.

xlim

the range of dates to plot.

mark

twilights to mark with a cross

points.col

colours of twilight points

ribbon.col

colours of twilight ribbons

zlim

the range of light levels to plot.

point.cex

expansion factor for plot points.

Details

Draws a light image with twilight points or twilight ribbon. If tagdata is NULL, no image is drawn. Twilight points and ribbons are only drawn when twilight data is provided and the point or ribbon colour specifications are non NULL.


slisovski/TwGeos documentation built on Jan. 27, 2024, 10:43 a.m.