You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, everyone!
I have a little data, I draw it like this:
static ImPlotAxisFlags xflags = ImPlotAxisFlags_RangeFit;
static ImPlotAxisFlags yflags = ImPlotAxisFlags_RangeFit;
if (ImPlot::BeginPlot("My Plot", "x_label","y_label", ImVec2(-1,0),0, xflags, yflags )) {
for (int i = 0; i < 10; ++i) {
ImPlot::PlotText( "hello", 1, 100+i, false, ImVec2(0,0));
}
ImPlot::EndPlot();
}
ImGui::End();
The problem is that it takes me a very long time to scroll up the graph to look at my data on it.
The temporary solution I have is to apply - SetNextPlotLimits But it imposes difficulties. Now I need to know in advance the limits of my data, which is an additional calculation.
Also, it may not work with real-time data. How do I change the graph so that it automatically scales to my data and I see it instead of scrolling it?
The text was updated successfully, but these errors were encountered:
Hello, everyone!
I have a little data, I draw it like this:
The problem is that it takes me a very long time to scroll up the graph to look at my data on it.
The temporary solution I have is to apply -
SetNextPlotLimits
But it imposes difficulties. Now I need to know in advance the limits of my data, which is an additional calculation.Also, it may not work with real-time data. How do I change the graph so that it automatically scales to my data and I see it instead of scrolling it?
The text was updated successfully, but these errors were encountered: