plot.linseg: Plot a linear segment object

Description Usage Arguments Examples

Description

Provide a visual of a linseg object.

Usage

1
2
3
4
## S3 method for class 'linseg'
plot(x, ..., label_by = "name", reversed = TRUE,
  ylab = NA, xlab = NA, sub = NA, xright = 1, xleft = 0, xlim = c(0,
  4), ylim = NULL, col = NULL, label.col = "black", label.margin = 0.1)

Arguments

x

A linseg object

...

Formatting options to be passed on to rect.

label_by

A parameter with which to label segments or NULL for no label.

reversed

Logical describing if the y axis should be reversed.

ylab

Label for the Y axis

xlab

Label for the X axis

sub

Subtitle for the plot

xright

Right X value for plot rectangles (can be a vector)

xleft

Left X value for plot rectangles (can be a vector)

xlim

vector of length 2 for plot X range.

ylim

vector of length 2 for plot Y range (overrides reversed parameter)

col

Colour vector for segments

label.col

Colour vector for labels

label.margin

Margin vector for labels

Examples

1
2

paleolimbot/ofcores documentation built on May 24, 2019, 6:13 p.m.