Dear ROOT experts,
I am trying to produce a simple histogram without any vertical lines, i.e. only horizontal lines covering the full bin width and including error bars. My current plotting macro has the following structure:
void PlotTest(){
SetAtlasStyle();
#ifdef __CINT__
gROOT->LoadMacro("AtlasLabels.C");
gROOT->LoadMacro("AtlasUtils.C");
gROOT->LoadMacro("AtlasStyle.C")
#endif
gStyle->SetPalette(kVisibleSpectrum);
gStyle->SetHatchesLineWidth(2);
gStyle->SetHatchesSpacing(1);
hist->SetMarkerSize(0.0);
hist->SetLineColor(1);
hist->SetLineStyle(1);
hist->Draw("E HIST");
c.Print();
return;
}
When I use the E HIST it produces the following https://ibb.co/XzY22gM and if use E HIST ][ it just prints points instead of lines: https://ibb.co/cvN0SgP. How can I fix it in order for it to have only horizontal lines like shown here: https://ibb.co/bPw4Dfj
Thanks in advance!