[Root_list] TPaveText in TGraph
Lorenzo Zana
zana at jlab.org
Mon Aug 26 12:27:43 EDT 2013
Coordinate NDC
TPaveText *pt = new TPaveText(.05,.1,.35,.35,"NDC");
or
Coordinates graph
TPaveText *pt = new TPaveText(1.,0.001,10.,.02);
On 26/08/13 17:18, Beni Zihlmann wrote:
> sorry c2->Update()
>> try add cd->Update(); after pt->Draw();
>>
>>> Dear ROOTers
>>>
>>> I would like to print a TPaveText in a TGraph (see the attachement),
>>> but when I run the script, only the TGraph appear.
>>>
>>> I was looking in different forums but there is no answer. Do you
>>> have a hint about it
>>>
>>> Thank you
>>>
>>> Carlos
>>>
>>>
>>> _______________________________________________
>>> Root_list mailing list
>>> Root_list at jlab.org
>>> https://mailman.jlab.org/mailman/listinfo/root_list
>>
>>
>>
>> _______________________________________________
>> Root_list mailing list
>> Root_list at jlab.org
>> https://mailman.jlab.org/mailman/listinfo/root_list
>
>
>
> _______________________________________________
> Root_list mailing list
> Root_list at jlab.org
> https://mailman.jlab.org/mailman/listinfo/root_list
--
* Dr. Lorenzo Zana*
Research Associate
T +44 0131 650 5256 <tel:+4401316505256>
F +44 0131 650 5902 <tel:+4401316505902>
E-mail zana at jlab.org
<mailto:zana at jlab.org> Web https://userweb.jlab.org/~zana/
<https://userweb.jlab.org/%7Ezana/> The University of Edinburgh logo
<http://www.ph.ed.ac.uk/>
8211a JCMB, The King's Buildings . Mayfield road . Edinburgh EH9 3JZ
. Scotland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/root_list/attachments/20130826/c2347c85/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: university-of-edinburgh-logo.png
Type: image/png
Size: 198515 bytes
Desc: not available
Url : https://mailman.jlab.org/pipermail/root_list/attachments/20130826/c2347c85/attachment-0001.png
More information about the Root_list
mailing list