Documentation

UI::Plot::PlotStairs

Function

void UI::Plot::PlotStairs(const string&in label_id, const float[]@ values, double xscale = 1.0, double xstart = 0.0, int flags = UI::Plot::StairsFlags::None)

Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e. the interval [x[i], x[i+1]] has the value y[i]

string label_id

const float[]@ values

double xscale

double xstart

int flags

void UI::Plot::PlotStairs(const string&in label_id, const float[]@ xs, const float[]@ ys, int flags = UI::Plot::StairsFlags::None)

Plots a a stairstep graph. The y value is continued constantly to the right from every x position, i.e. the interval [x[i], x[i+1]] has the value y[i]

string label_id

const float[]@ xs

const float[]@ ys

int flags