Skip to content

Commit

Permalink
add comment about v_min/v_max to SetupAxisLimits
Browse files Browse the repository at this point in the history
  • Loading branch information
epezent committed Aug 20, 2023
1 parent b5b796a commit 2c71f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implot.h
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ IMPLOT_API void EndSubplots();

// Enables an axis or sets the label and/or flags for an existing axis. Leave #label = nullptr for no label.
IMPLOT_API void SetupAxis(ImAxis axis, const char* label=nullptr, ImPlotAxisFlags flags=0);
// Sets an axis range limits. If ImPlotCond_Always is used, the axes limits will be locked.
// Sets an axis range limits. If ImPlotCond_Always is used, the axes limits will be locked. Inversion with v_min > v_max is not supported; use SetupAxisLimits instead.
IMPLOT_API void SetupAxisLimits(ImAxis axis, double v_min, double v_max, ImPlotCond cond = ImPlotCond_Once);
// Links an axis range limits to external values. Set to nullptr for no linkage. The pointer data must remain valid until EndPlot.
IMPLOT_API void SetupAxisLinks(ImAxis axis, double* link_min, double* link_max);
Expand Down

0 comments on commit 2c71f58

Please sign in to comment.