you can output a value in a TText using sprintf:
char val[20]; sprintf(val,"%g",value); TLatex l; l.DrawLatex(x,y,val);
On Thu, 1 Sep 2005 vikas_at_veccal.ernet.in wrote:
> Respected Sir
> I Vikas Singhal, working at VECC Kolkata under Subhasis Sir. I am developing a Online Temperature Monitoring System in ROOT environment.
> Now I am facing some Graphical Problem.
> We have created one Main Frame where some radio, check button and Number entry box is present.
>
> Now according to our requirement we have to take data from a file and display on these number entry boxes. After this user can update this data and it should be stored in file.
>
> Problem is we have made main frame and every graphics things but how to Display or modify those numeric values.
> Question:- How to Display data on Graphical window in Interactive Mode?
>
> Please give solution with example.
>
> Best Regards
> Vikas
>
>
>
>
>
>
>
>
> \ \ | / /
> (O-O)
> _________oOO_(_)_OOo_________________
>
> Vikas Singhal (Scientific Officer 'C')
> Physics Group, VECC, Salt Lake, Kolkata-700 064.
> Anu-Net - 5-331-2424, Mobile- 0 98302 04363
> vikasssinghal_at_rediffmail.com
> There is no substitute for Hard-Work.
> so Never Never Never Give up, Keep Trying.
> .oooO
> ( ) Oooo.
> __________ \ (____( )__________________
> \__) ) /
> (__/
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
-- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet_at_cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7670300Received on Thu Sep 01 2005 - 15:56:39 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET