Hi Michal,
Remove the trailing "," in the statement DrawArrow. see below
Rene Brun
lijowski@cosray2.wustl.edu wrote:
>
> Hello ROOTers,
>
> I cannot reset the arrow size in the enclosed macro. When I run
> this macro the arrow is missing its head. It happens in root 2.23/08
> under SunOS5.7.
>
> Thank you with regards,
>
> Michal Lijowski
>
> {
>
> 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 -> SetArrowSize(0.05);
>// arr -> DrawArrow(190.0, 30.0, 195.0, 30.0,);
arr -> DrawArrow(190.0, 30.0, 195.0, 30.0); //<=========
> cout << " Arr Size " << arr -> GetArrowSize() << endl;
>
> c1 -> Update();
> }
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:42 MET