THStack Adding too Many Histograms

ROOT Version: 6.21/06
Platform: Not Provided
Compiler: Not Provided

Is there a limit on how many histograms I can add to a THStack ? I’m trying to make a plot with around 15 (spread over the x axis with overlapping ranges) and I find the last few added are not being drawn. If I remove the first few they reappear so it looks like THStack is limiting the number of hists I can add.

Is there a way to bypass the limit (if that is indeed the problem) ?

In principal there is no limits. The histograms are stored in a dynamic list.
Can you provide an example showing this limit ?

Thanks for the reply!

I actually found out it was using a weird y axis range that was squishing some of the histograms so I couldn’t see them.

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