polar_plot: A function to generate polar plot

View source: R/polar_plot.R

polar_plotR Documentation

A function to generate polar plot

Description

This function generates a polar plot figure (heatmap)

Usage

polar_plot(
  x,
  y,
  z,
  log10_scale = "x",
  tick_type = "lin",
  minor_tick = TRUE,
  xlab = "Freq (Hz)",
  ylab = "Azimuth (deg)"
)

Arguments

x

The array of x values, e.g., frequency array

y

The array of y values, e.g., azimuth angles

z

The numeric matrix containing the values to be plotted. It must have the dimension of len(x) by len(y).

log10_scale

A string takes "x", "y", or "xy". It indicates the axix that will be plotted in log10 scale

tick_type

A string takes "exp" (the ticks are expressed by 10^) or "lin" (the ticks are expressed by 100..)

minor_tick

Binary, indicates if minor ticks are plotted

xlab

A title for the x axis

ylab

A title for the y axis


wltcwpf/hvsrProc documentation built on March 25, 2024, 7 p.m.