Documentation

UI::Plot::PlotShaded

Function

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

Plots a shaded (filled) region between two lines, or a line and a horizontal reference.

string label_id

const float[]@ values

double yref

Reference Y value. Set to Math::PosInfl or Math::NegInfl for infinite fill extents.

double xscale

double xstart

int flags

void UI::Plot::PlotShaded(const string&in label_id, const float[]@ xs, const float[]@ ys, double yref = 0.0, int flags = UI::Plot::ShadedFlags::None)

Plots a shaded (filled) region between two lines, or a line and a horizontal reference.

string label_id

const float[]@ xs

const float[]@ ys

double yref

Reference Y value. Set to Math::PosInfl or Math::NegInfl for infinite fill extents.

int flags

void UI::Plot::PlotShaded(const string&in label_id, const float[]@ xs, const float[]@ ys1, const float[]@ ys2, int flags = UI::Plot::ShadedFlags::None)

Plots a shaded (filled) region between two lines, or a line and a horizontal reference.

string label_id

const float[]@ xs

const float[]@ ys1

const float[]@ ys2

int flags