Hi Luca, If you are already a bit familiar with the graphics editor and are able to insert one or more text elements in a canvas, you can generate automatically the C++ code to regenerate the canvas. Go to the "File" menu of the canvas and select the item "Save as canvas.C" Now look at the C++ file. You can execute again the canvas.C file and continue to edit with the graphics editor. Note that all this is explained in the HELP button of the canvas. Rene Brun On Thu, 13 Jun 2002, Luca Di Fino wrote: > Hi ROOTers, > When using the Editor command on the edit menu on a ROOT canvas, it is > possible to insert a text on the canvas with the Text/Latex Button. > Is it possible to do the same thing (insert a text in a canvas and make > this text editable) with a macro? > What is the Text method to make the text editable? > Thanks, > Luca > _________________________________________ > Luca Di Fino - luca.difino@roma2.infn.it > University of Rome Tor Vergata and INFN Roma 2 > Via della Ricerca Scientifica 1 > I-00133 Rome Italy > Phone: +39 06 7259 4502 > _________________________________________ > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET