Removing vertical lines from PDF plot

Dear experts,

I wish to plot a PDF, representing the total background expectations,without the vertical lines at the left and right most part of the plot. Basically I would like to use “][” draw option seen here: root.cern.ch/root/html/THistPainter.html#HP01b. I tried to implement this via DrawOption("]["), but then the entire line isn’t drawn. The command I am using is:

regionPdf->plotOn(frame,Normalization(1,RooAbsReal::RelativeExpected),Precision(1e-5),LineColor(kRed),LineWidth(4));

Is this supported? I am using ROOT 5.34/14

Cheers,
Matthew

I am not sure if plotOn support this option … have you tried to plot it with the regular TH1::Draw() ?