Macro generated by Canvas Save menu

{
//=========Macro generated from canvas: c1/
//=========  (Mon Jan 20 17:52:23 1997) by ROOT version 0.90/12
   TCanvas *c1 = new TCanvas("c1", "",441,78,578,420);
   c1->Range(-0.125,-0.125,1.125,1.125);
   c1->SetFillColor(19);
   c1->SetBorderSize(2);
   TArrow *arrow = new TArrow(0.0578947,0.917333,0.345614,0.648,0.03,"|>");
   arrow->SetFillColor(1);
   arrow->SetFillStyle(1001);
   arrow->Draw();
   TDiamond *diamond = new TDiamond(0.494737,0.656,0.65614,0.898667);
   diamond->SetFillColor(18);
   diamond->SetTextAlign(22);
   diamond->SetTextSize(0);
   diamond->Draw();
   
   TEllipse *ellipse = new TEllipse(0.85,0.741333,0.107895,0.104,0,360,0);
   ellipse->SetFillColor(46);
   ellipse->Draw();
  
// ------------>Primitives in pad: newpad
   TPad *newpad = new TPad("newpad", "newpad",0.152632,0.0853333,0.457895,0.602667);
   newpad->Draw();
   newpad->cd();
   newpad->Range(0,0,1,1);
   newpad->SetFillColor(43);
   newpad->SetBorderSize(2);
   newpad->Modified();
   c1->cd();
   
   TPaveLabel *pl = new TPaveLabel(0.528509,0.418333,1.07895,0.545,"This is a TPaveLabel","br");
   pl->SetFillColor(18);
   pl->SetTextSize(0.7);
   pl->Draw();
   TText *text = new TText(0.27193,0.877333,"This is a Text");
   text->SetTextSize(0.05);
   text->Draw();
   
   Float_t *dum = 0;
   TGraph *graph = new TGraph(16,dum,dum,"");
   graph->SetName("Graph");
   graph->SetTitle("Graph");
   graph->SetFillColor(19);
   graph->SetLineWidth(4);
   graph->SetPoint(0,0.563596,0.288333);
   graph->SetPoint(1,0.625,0.138333);
   graph->SetPoint(2,0.688596,0.111667);
   graph->SetPoint(3,0.756579,0.111667);
   graph->SetPoint(4,0.791667,0.191667);
   graph->SetPoint(5,0.809211,0.268333);
   graph->SetPoint(6,0.859649,0.298333);
   graph->SetPoint(7,0.921053,0.261667);
   graph->SetPoint(8,0.967105,0.198333);
   graph->SetPoint(9,0.980263,0.125);
   graph->SetPoint(10,0.953947,0.055);
   graph->SetPoint(11,0.844298,0.025);
   graph->SetPoint(12,0.844298,0.108333);
   graph->SetPoint(13,0.879386,0.168333);
   graph->SetPoint(14,0.936404,0.141667);
   graph->SetPoint(15,0.905702,0.121667);
   graph->Draw("L");
   c1->Modified();
   c1->cd();
}


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.