Documentation

UI::Plot::SetupAxisTicks

Function

void UI::Plot::SetupAxisTicks(Axis axis, const double[]@ values, const string[]@ labels = null, bool keep_default = false)

Sets an axis' ticks and optionally the labels.

UI::Plot::Axis axis

const double[]@ values

const string[]@ labels

bool keep_default

To keep the default ticks, set this to true.

void UI::Plot::SetupAxisTicks(Axis axis, double v_min, double v_max, const string[]@ labels = null, bool keep_default = false)

Sets an axis' ticks and optionally the labels for the next plot.

UI::Plot::Axis axis

double v_min

double v_max

const string[]@ labels

bool keep_default

To keep the default ticks, set this to true.