{ gROOT->Reset(); TH1F* h = new TH1F("h1","hist title",10,-4,4); h->FillRandom("gaus",20000); h->SetFillColor(kRed); h->SetMarkerStyle(29); // Set all the canvas styles: TString S[]{"HIST","HBAR","E","LF2","P","PIE"}; TCanvas c1("c1","draw styles", 0, 0, 1000,800); c1.Divide( 3, 2 ); // Divide the canvas into 3 columns and 2 rows // Clone each histogram and draw with a different style: //for (int i=0; iClone(); hi->SetTitle(Form("Draw(\"%s\")", (const char*) style)); c1.cd(i++); hi->Draw(style); } c1.cd(); c1.SaveAs("histDraws.png"); }