I want to plot the TArrow into a canvas, can I just the NDC property so that I can plot the arrow based on a (0, 1) canvas?
some_TArrow_pointer->SetNDC(kTRUE);
It said Error: Can’t call TArrow::SetNDC(kTRUE)
TArrow has SetNDC via its inheritance from TLIne.
Which ROOT version re you using ?
ROOT 5.34/09. I will try to use ROOT 6 to check SetNDC for TArrow. Many thanks!
I just tried to use TArrow::SetNDC(kTRUE) at ROOT 6.22/00, and found it works well. Thank you so much!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.