TCanvas* c0 = new TCanvas("c0", "c0", 30, 30, 600, 600);
this defines the window size, not the canvas size. To control the canvas size, you need to add
c0->SetCanvasSize(yourwidth,yourheight);
see the Documentation.
TCanvas* c0 = new TCanvas("c0", "c0", 30, 30, 600, 600);
this defines the window size, not the canvas size. To control the canvas size, you need to add
c0->SetCanvasSize(yourwidth,yourheight);
see the Documentation.