41_print_and_plot_methods: Supporting Methods

Description Usage Arguments Details References See Also Examples

Description

Print and plot methods for litmus and mlitmus objects.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'litmus'
print(x, ...)
## S3 method for class 'mlitmus'
print(x, ...)

## S3 method for class 'litmus'
plot(x, n=200, ...)
## S3 method for class 'mlitmus'
plot(x, n=200, ...)

Arguments

x

A litmus or mlitmus object.

n

Integer, number of strips.

...

Ignored.

Details

The plot method calls colorspace::swatchplot, with a vector of colors.

References

Refer to the vignette for an overview, references and better examples.

See Also

litmus, mlitmus

Examples

1
2
3
4
colf <- blue.litmus ()

print (colf)
plot (colf)

barsurf documentation built on Jan. 20, 2021, 5:08 p.m.