zenplots (version 1.0.0)

vport: Viewport Constructing Function for Grid Functions

Description

Auxiliary function for constructing viewports for 1d and 2d (default) plots.

Usage

vport(ispace, xlim = NULL, ylim = NULL, x = NULL, y = NULL, ...)

Arguments

ispace

inner space (in \([0,1]\)))

xlim

x-axis limits; if NULL, the data limits are used.

ylim

y-axis limits; if NULL, the data limits are used.

x

x data (only used if is.null(xlim)); if NULL, 0:1 is used.

y

y data (only used if is.null(ylim)); if NULL, 0:1 is used.

...

additional arguments passed to the underlying viewport().

Value

The viewport.

Details

This is an auxiliary function used by the provided grid-related 1d and 2d plots.

See Also

Other graphical tools: l_ispace_config, na_omit_loon, plot_region, zenarrow