View source: R/plotfunctions.R
uvplot | R Documentation |
display the radial and angular component of the spectrum's centre as arrows.
uvplot(uv, z = NULL, x = NULL, y = NULL, col = "green",
zcol = grDevices::gray.colors(32, 0, 1), n = 42, f = 1,
length = 0.05, ...)
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 |
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.
cen2uv
uv <- cen2uv( dt2cen( fld2dt( blossom ) ) )
uvplot( uv, z=blossom )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.