margin {matRiks}R Documentation

Margin rule (Method)

Description

Apply a change in the margins of the figure

Usage

margin(fig, n, rule, ...)

## S3 method for class 'figure'
margin(fig, n, rule, ...)

Arguments

fig

The figure on which the rule is applied

n

integer, defines the linetype of the linewidth

rule

character, lty changes the linetype (1 = solid, 2 = dashed, 3 = dotted), lwd changes the linewdith

...

Other arguments

Value

A figure with changed margins

A figure with changed margins

Methods (by class)

Examples

# draw default triangle
draw(triangle())

# change the linetype
draw(margin(triangle(), "lty", 2))
# draw default triangle
draw(triangle())

# change the linetype
draw(margin(triangle(),"lty", 2))

[Package matRiks version 0.1.3 Index]