Dear ROOT developers ,
I got a problem with version 4.00/08.
When I draw text on each of sub pad of divided canvas
as shown in the attached script,
the second text (“text2”) is visible but cannot be manipulated with mouse.
I cannnot move it with left botton nor get pull-down menu with the right button.
Could someone tell me what is going on?
test.C (428 Bytes)
If you do it that way it is working:
TCanvas *c1 = new TCanvas("c1", "test", 2, 2, 300, 300);
TText *t1 = new TText(0.6, 0.8, "text1");
TText *t2 = new TText (0.4, 0.8, "text2");
Thank you for the reply.
So problem lies in using NDC coordiante?
I usually draw text on histograms and often want to use not histogram coordinate but pad coordinate
in specifying the text position …
yes, and also with the font number (I changed it too)
I confirmed that font type does not relate to the problem.
This indicates a bug exists around TText::SetNDC function.
I hope it will be fixed.