vport {zenplots} | R Documentation |
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 |
xlim |
x-axis limits; if |
ylim |
y-axis limits; if |
x |
x data (only used if |
y |
y data (only used if |
... |
additional arguments passed to the underlying |
Details
This is an auxiliary function used by the provided grid-related 1d and 2d plots.
Value
The viewport
.
Note
Ideas from dataViewport() and extendrange() Omitted check: if(length(ispace) != 4) ispace <- rep(ispace, length.out = 4) stopifnot(0 <= ispace, ispace <= 1)
Author(s)
Marius Hofert
See Also
Other graphical tools:
l_ispace_config()
,
na_omit_loon()
,
plot_region()
,
zenarrow()
[Package zenplots version 1.0.6 Index]