(no subject)

Valery Fine (Valeri.Faine@cern.ch)
Sat, 1 Mar 1997 20:07:07 +0100


On 1 Mar 97 at 13:02, Ole Streicher wrote:

> Hallo Valery!
>
> Valery Fine writes:
> > Please, dont' wait, juts go ahead and tell us what do you think
> we > have to provide first of all, second etc.
>
> Well, another thing I found out: I yesterday discovered that I can
> change the histogram contents by mouse.
>
> Whow! So I dont need xfig anymore to get the data in correspondence
> with MC, I can simply click to the bin contents and move them until
> they agree :-)
>
Ok, I know this feature pleases physicists always and it was the reason
to implement a special protection via Menu "Can Edit Hist".
It is just to prove one watches the "REAL" object not just its
image only.

> ...
> The serious: I would like to be able just to click to any of the
> histogram texts (title, ...) and to change it. Also, to click to the
> axis numbers and change their style.
>

Well. All things on can see via "Canvas/Pad" are OBJECTS and one
can discovered its properties with a "right" mouse botton. I'd like
to mention that PopUp property menu is generated "by automatic" from
ANY *.h file supplied to ROOT . This means just one wrote his/her own
C++ class and did define his class interface via the include file
(as usually) ROOT will build the PopUp property menu for his/her
class as well.

> Another question: is it possible to save *picture* with all
> underlaying histograms?
> The point I am asking is: Maybe, one can make all this OLE (for
> Win95) or similar compatible - then one can write his paper with a
> text program, and just double-click to the histogram to change the
> style, or the histogram ...
>

I think ROOT manages this very "right" way. Re-read the topis above
on Popup menu. So canvas on the screen is the object with the list of
references to other objects (it is easy to figure out just go to
ROOT browser, find canvas "folder" and explore it).

This allows save (generate by automatic) the C++ code to construct
that Canvas object.

So you can do all you want with your objects on canvases, then you
can save it (not image but objects) via menu, for instance, as C++
code, Then you can play/compile/transfer this macro across network or
event link it with WebBrowser to display it anyway. Apparently it will
generate the picture with the same objects, but the STUFF of the
object will be a fresh one, since macro contains the pointers ONLY.

Try yourself.

What about some extra service you was asking about? It may be
implemented easy but not just now, first we've to implement the MAIN
idea allowing all such sort of nice tricks in future.

> A third idea: I found out that I can save a picture as .gif
> So, is it possible to make a simple CGI-script which generates
> dynamic online monitoring, just over the web?
>

ROOT can communicate another ROOT and transfer any object across
network for that. And event with your current version you can
transfer via FTP (or with Web) any ROOT file to another computer and
use the local ROOT to display it.

Since Macro is the ROOT object as well, a single Root file may
contains C++ CINT macros AND any kind of ROOT objects like histograms
as well.

The only problem some one has to make it (as you mentioned)

> all this OLE (for Win95) or similar compatible - then
> one can write his paper with a text program, and just double-click
> to the histogram to change the style, or the histogram ...

Look at http://root.cern.ch/root/Plans.html, please

We'll appreciate any kind of our user contribution too.

With my regards,
Valery
=================================================================
Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for NuclearRes Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine@main1.jinr.dubna.su
mailto:fine@vxcern.cern.ch
Dr. Valeri Faine
------------ Phone: +41 22 767 6468
CERN FAX : +41 22 782 2601
CH-1211 Geneva, 23 mailto:fine@vxcern.cern.ch
Switzerland http://nicewww.cern.ch/~fine