19void multigraphpalettecolor()
23 auto gr1 =
new TGraph(); gr1->SetMarkerStyle(20);
24 auto gr2 =
new TGraph(); gr2->SetMarkerStyle(21);
25 auto gr3 =
new TGraph(); gr3->SetMarkerStyle(23);
26 auto gr4 =
new TGraph(); gr4->SetMarkerStyle(24);
31 for (
int i=0; i<=100; i++) {
44 mg->Draw(
"A pmc plc");
A TGraph is an object made of two arrays X and Y with npoints each.
A TMultiGraph is a collection of TGraph (or derived) objects.
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.