uvplot {dualtrees} | R Documentation |
plot centre as vectors
Description
display the radial and angular component of the spectrum's centre as arrows.
Usage
uvplot(uv, z = NULL, x = NULL, y = NULL, col = "green",
zcol = grDevices::gray.colors(32, 0, 1), n = 42, f = 1,
length = 0.05, ...)
Arguments
uv |
an array of dimension |
z |
image to show in the background, defaults to |
x , y |
optional x- and y-coordinates for the plot, must match the dimensions of |
col |
color of the arrows |
zcol |
color scale for the image |
n |
number of arrows in one direction |
f |
factor by which to enlarge the arrows |
length |
length of the arrowhead in inches |
... |
further arguments passed to |
Details
The pivot of the arrows is at the location to which the u- and v-component belong. No arrowhead is displayed since the egdges detcted by the cdtwt have an orientation but no sign. The default size of the arrows is such that a 'velocity' of 1 corresponds to 5% of the shorter image side.
See Also
Examples
uv <- cen2uv( dt2cen( fld2dt( blossom ) ) )
uvplot( uv, z=blossom )