From a41d4137905ad1c8facb7cd9477999d1d200512c Mon Sep 17 00:00:00 2001 From: epezent Date: Wed, 19 Aug 2020 23:50:46 -0500 Subject: [PATCH] add FitNextPlotAxes --- implot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implot.h b/implot.h index 9f2025d..6db25b5 100644 --- a/implot.h +++ b/implot.h @@ -382,7 +382,7 @@ void SetNextPlotLimits(double x_min, double x_max, double y_min, double y_max, I void SetNextPlotLimitsX(double x_min, double x_max, ImGuiCond cond = ImGuiCond_Once); // Set the Y axis range limits of the next plot. Call right before BeginPlot(). If ImGuiCond_Always is used, the Y axis limits will be locked. void SetNextPlotLimitsY(double y_min, double y_max, ImGuiCond cond = ImGuiCond_Once, int y_axis = 0); -// Fits the next plot axes if they are unlocked. +// Fits the next plot axes to all plotted data if they are unlocked (equivalent to double-clicks). void FitNextPlotAxes(bool x = true, bool y = true, bool y2 = true, bool y3 = true); // Set the X axis ticks and optionally the labels for the next plot.