You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
auto C = new TCanvas();
auto f1 = new TF1("f1","1 + 0.5*cos(30*x)",2.5,4);
f1->SetNpx(250);
f1->GetXaxis()->SetRangeUser(3,3.5);
f1->SetMarkerStyle(20);
f1->SetMarkerColor(2);
auto f2 = new TF1("f2","1 + 0.5*cos(30*x)",2.5,4);
f2->SetNpx(250);
f2->GetXaxis()->SetRangeUser(3.3,3.4);
f2->SetLineColor(4);
f2->SetLineWidth(4);
f1->Draw(" p");
f2->Draw("same L");
C->SetGridx();
}
The text was updated successfully, but these errors were encountered:
It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.
It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.
It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.
When two TF1 are drawn with option SAME the 2nd one might be partially drawn in case
there is a range defined on it. See:
https://root-forum.cern.ch/t/draw-two-tf1/54510/
a better repoducer is:
The text was updated successfully, but these errors were encountered: