Skip to main content

render_polar_plot

Function render_polar_plot 

Source
pub fn render_polar_plot(
    series: &[PolarSeries<'_>],
    floor_db: f64,
    ring_step_db: f64,
    width: usize,
    title: Option<&str>,
    color: bool,
) -> String
Expand description

Renders a polar plot of dB values, the usual way to show antenna pattern cuts. The radius is value - floor_db (values below the floor sit at the centre), reference rings mark the peak and every ring_step_db below it (0 for none), and the frame keeps a true circular aspect (Braille dots are square when a character cell is twice as tall as it is wide). width is in character cells; the height is chosen from it.