62_matrix_plot_margins: Matrix Margins

Description Usage Details Value Examples

Description

Reverse the top and bottom margins.

Usage

1
matrix.margins ()

Details

The function changes the par settings for the margins, for subsequent plots.

It reverses the top and bottom margins, based on the assumption that the user wants the x-axis ticks/labels on the top, and a possible main title on the bottom.

Value

A named list giving the original par settings for the margins.

Examples

1
2
3
4
5
fv <- matrix (sample (1:24), 4, 6)

p0 <- matrix.margins ()
plot_matrix (,,fv, main="my plot")
par (p0)

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