Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get 2D histograms to have what they are at the top like 1D do #28

Open
hschellman opened this issue Jun 16, 2022 · 0 comments
Open

Get 2D histograms to have what they are at the top like 1D do #28

hschellman opened this issue Jun 16, 2022 · 0 comments

Comments

@hschellman
Copy link
Collaborator

2D histograms don't say what the plot is. 1D do, I think it was done in plotting_pdf as

TText *t = new TText(.3,.95,label.c_str());
t->SetNDC(1);
t->SetTextSize(.03);

mnvPlotter.DrawDataMCWithErrorBand(datahist, hist, mcScale, "TL", useHistTitles, NULL, NULL,cov_area, statPlusSys);

std::string plotname = Form("Title: %s_CV_w_err_%s",datahist->GetName() ,label.c_str());
t->Draw();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant