Another arrow question

From: lijowski@cosray2.wustl.edu
Date: Fri Nov 12 1999 - 21:15:33 MET


   Hello,

   The Postscript output of the following macro shows two thin arrows
   and one thick arrow. Is it possible to get a line with a thickness
   in between in ROOT 2.23/08. 

     Thank you with regards,

     Michal Lijowski

{

   gROOT -> SetStyle("Plain");
   gStyle -> SetOptStat(0);
   gStyle -> SetCanvasColor(10);

   TCanvas *c1 = new TCanvas("c1", "c1", 800, 600);
   TH2F *h2r = new TH2F("h2r", "test", 2, -30.0, 300.0, 2, -30.0, 300.0);
   h2r -> Draw();

   TArrow *arr = new TArrow();
   arr -> SetLineWidth(0.5);
   arr -> SetArrowSize(1.0);
   arr -> DrawArrow(50.0, 30.0, 210.0, 30.0, 0.01);

   arr -> SetLineWidth(0.8);
   arr -> DrawArrow(50.0, 50.0, 210.0, 50.0, 0.01);

   arr -> SetLineWidth(1.0);
   arr -> DrawArrow(50.0, 70.0, 210.0, 70.0, 0.01);

   c1 -> Update();
}



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:42 MET