How to draw histogram without frame

Hi all,
I draw a TH2D histogram using h2->Draw("ASurf2");
It can draw a histogram without showing the axis, but how can I remove the black framework. I only want to show the histogram itself. I tryied c1->GetFrame()->SetLineColor(0); or c1->SetFrameBorderSize(0.0);, but it doesn’t work.

See the "FB" and "BB" options in: THistPainter → Options supported for 2D histograms

thanks for your help @Wile_E_Coyote . Your reply solved my question.

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