Skip to content

Commit 0eb9047

Browse files
authored
Fix: change multigraph drawing options (#2594)
* fix: change multigraph drawing options * feat: changed drawing options
1 parent 6283263 commit 0eb9047

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Framework/src/SliceTrendingTask.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ void SliceTrendingTask::drawCanvasMO(TCanvas* thisCanvas, const std::string& var
402402
} // for (int p = 0; p < nuPa; p++)
403403

404404
thisCanvas->cd(1);
405-
multigraph->Draw("A pmc plc");
405+
std::string drawOpt = opt.empty() ? "A*L PMC PLC" : opt;
406+
multigraph->Draw(drawOpt.c_str());
406407

407408
auto legend = new TLegend(0., 0.1, 0.95, 0.9);
408409
legend->SetName("MultiGraphLegend");

0 commit comments

Comments
 (0)