Skip to main content

SpectrogramAxisOptions

SpectrogramAxisOptions

Axis labeling and grid options.

#include <SpectrogramState.hpp>

Public Attributes

Name
std::string x_label
X-axis label.
std::string y_label
Y-axis label.
bool show_x_axis
Whether to show X axis.
bool show_y_axis
Whether to show Y axis.
bool show_grid
Whether to show grid lines.

Public Attributes Documentation

variable x_label

std::string x_label = "Time (ms)";

X-axis label.

variable y_label

std::string y_label = "Frequency (Hz)";

Y-axis label.

variable show_x_axis

bool show_x_axis = true;

Whether to show X axis.

variable show_y_axis

bool show_y_axis = true;

Whether to show Y axis.

variable show_grid

bool show_grid = false;

Whether to show grid lines.


Updated on 2026-11-13 at 20:25:39 +0000