9 TCanvas* old_canv = gPad->GetCanvas();
11 gROOT->SetBatch(kTRUE);
12 gROOT->ForceStyle(kTRUE);
14 Int_t orig_msz = gStyle->GetMarkerSize();
15 Int_t orig_mst = gStyle->GetMarkerStyle();
16 Int_t orig_lt = gStyle->GetLineWidth();
18 gStyle->SetMarkerSize(1.0+scale/5);
19 gStyle->SetMarkerStyle(20);
20 gStyle->SetLineWidth(orig_lt*scale);
27 Int_t old_width = old_canv->GetWindowWidth();
28 Int_t old_height = old_canv->GetWindowHeight();
30 Int_t new_width = old_width * scale;
31 Int_t new_height= old_height* scale;
33 TCanvas* temp_canvas =
new TCanvas(
"temp",
"", new_width, new_height);
34 old_canv->DrawClonePad();
40 gStyle->SetMarkerSize(orig_msz);
41 gStyle->SetMarkerStyle(orig_mst);
42 gStyle->SetLineWidth(orig_lt);
44 gROOT->ForceStyle(kFALSE);
45 gROOT->SetBatch(kFALSE);
void MSaveBigPNG(TString filename="", double scale=5)