ROOT Version: 6.20/06
Built for linuxx8664gcc on Jun 10 2020, 06:10:57
From tags/v6-20-06@v6-20-0
ROOT Version: 6.22/09
Built for macosxarm64 on May 16 2021, 22:36:00
From heads/v6-22-00-patches@v6-22-08-24-gdd3f79d017
Hi! Is it possible somehow to get rid of the automatically drawn line at y=0 that appears when doing for example
void horizontalLine() {
auto canvas = new TCanvas();
auto axis_hist = new TH1F(“”, “;x;y”, 1, 0, 1);
axis_hist->SetAxisRange(-2, 2, “Y”);
axis_hist->Draw();
canvas->Print(“horizontalLine.pdf”);
}
?
Thanks a lot,
Alex
PS: I saw this is discussed here, but not sure how these things relate under the hood.