Why the value of TGraph::GetMaximun() always equal to -1111?

I want to Get the max value of TGraph Y point, but the return value is always -1111.


ROOT Version: 6.24/04
Platform: windows 10
Compiler: vs 2019


here is the data of TGraph object:
TGraphData.txt (15.7 KB)

Could you please post a minimal code example that points out the issue.

TGraph::GetMinimum and TGraph::GetMaximum return the “minimum” and “maximum” values for plotting along “y”. The default values (-1111) mean that the drawing routine is free to choose whatever it likes.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.