Starts a 2D plotting context. If this function returns true, EndPlot()
MUST be called!
bool
Only call EndPlot()
if BeginPlot()
returns true!
Enables an axis or sets the label and/or flags for an existing axis.
Sets an axis range limits. Inversion with v_min
> v_max
is not supported.
Sets the format of numeric axis labels via formater specifier (default="%g"). Formated values will be double (i.e. use %f
).
Sets an axis' scale using built-in options.
Sets an axis' limits constraints.
Sets an axis' zoom constraints.
Sets the label and/or flags for primary X and Y axes (shorthand for two calls to SetupAxis
).
Sets the primary X and Y axes range limits. Shorthand for two calls to SetupAxisLimits
.
Sets up the plot legend.
Set the location of the current plot's mouse position text (default = South|East
).
Temporarily switch to a different colormap. Don't forget to call PopColormap
!
Undo temporary colormap modification(s).
void UI::Plot::SetNextLineStyle(const vec4&in col = vec4 ( 0 , 0 , 0 , - 1 ), float weight = - 1.0f)
Set the line color and weight for the next item only.
Set the fill color for the next item only.
Set the marker style for the next item only.
Set the error bar style for the next item only.
Shows a vertical color scale with linear spaced ticks using the specified color map.
Plots a standard 2D line plot.
Plots a standard 2D line plot.
Plots a bar graph. Vertical by default.
Plots a bar graph. Vertical by default.
Plots vertical error bar.
Plots vertical error bar.
Plots a shaded (filled) region between two lines, or a line and a horizontal reference.
Plots a shaded (filled) region between two lines, or a line and a horizontal reference.
Plots a shaded (filled) region between two lines, or a line and a horizontal reference.
Plots a standard 2D scatter plot. Default marker is UI::Plot::Marker::Circle
.
Plots a standard 2D scatter plot. Default marker is UI::Plot::Marker::Circle
.
Plots a group of bars.
Plots stems. Vertical by default.
Plots stems. Vertical by default.
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]
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]
Plots a pie chart. Center and radius are in plot units.
Plots a horizontal histogram. The largest bin count or density is returned.
double
Plots two dimensional, bivariate histogram as a heatmap. The largest bin count or density is returned.
double
Flags that can be passed to UI::Plot::BeginPlot
.
Plot axes.
Flags that can be passed to UI::Plot::SetupAxis
.
Used to position items on a plot (e.g. legends, labels, etc.)
Flags that can be passed to UI::Plot::SetupLegend
.
Flags that can be passed to UI::Plot::SetupMouseText
.
Axis scale.
Marker specifications.
Different automatic histogram binning methods (k = bin count or w = bin width).
Represents a condition for SetupAxisLimits
etc.
Built-in colormaps
Flags that can be passed to UI::Plot::ColormapScale
.
Flags that can be passed to UI::Plot::PlotLine
.
Flags that can be passed to UI::Plot::PlotBars
.
Flags that can be passed to UI::Plot::PlotErrorBars
.
Flags that can be passed to UI::Plot::PlotShaded
.
Flags that can be passed to UI::Plot::PlotScatter
.
Flags that can be passed to UI::Plot::PlotBarGroups
.
Flags that can be passed to UI::Plot::PlotStems
.
Flags that can be passed to UI::Plot::PlotStairs
.
Flags that can be passed to UI::Plot::PlotPieChart
.
Flags that can be passed to UI::Plot::PlotHeatmap
.
Flags that can be passed to UI::Plot::PlotHistogram
.