uvplot: plot centre as vectors

Description Usage Arguments Details See Also Examples

View source: R/plotfunctions.R

Description

display the radial and angular component of the spectrum's centre as arrows.

Usage

1
2
3
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 nx x ny x 2 , containing the u- and v-component, result of cen2uv

z

image to show in the background, defaults to sqrt(x^2+y^2)

x, y

optional x- and y-coordinates for the plot, must match the dimensions of z

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 image

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

cen2uv

Examples

1
2
uv <- cen2uv( dt2cen( fld2dt( blossom ) ) )
uvplot( uv, z=blossom )

dualtrees documentation built on March 13, 2020, 1:42 a.m.

Related to uvplot in dualtrees...