How to remove some histo lines

Hi all,

Please provide the following information:

ROOT Version (e.g. 6.12/02): 6.12/04
Platform, compiler (e.g. CentOS 7.3, gcc6.2): MacOS High Sieera, Homebrew GCC 7.2.0_1

Hi Experts,

I am trying to remove some histo lines from a 2D plot with surf3 draw option in root.But, I didn’t find any function for that.I also, tried to remove some histo line bin-by-bin method by setting as follows

if even bin
then h2d->SetLineWidth(0);
else
h2d->SetLineWidth(1);

which didn’t help me.

kindly suggest me some one to overcome this situation.

Thanks for your time,

How about:

SomeTH2->Rebin2D(2, 2, "rebinned")->Draw("SURF3");

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