Re: TH1Editor usage

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 26 Oct 2009 08:18:05 +0100


Daniel,

The XXXX::Editors do not have to be called from the command line. Simply invoke the Editor from the Canvas "View" menu. Once you have the editor, click on any object on the canvas to edit it. You will see an object specific editor with fields that should be obvious to use (I hope ::).
See also the Help button in the top right of the canvas.

Rene Brun

Barna Daniel wrote:
> Hi,
> How can a TH1Editor be used? The following code gives segfault after
> operator new, in version 5.14
> Thanks
>
> {
> TH1F h("h","h",100,0,10);
> h.Fill(5);
> h.Draw();
> TH1Editor *editor = new TH1Editor;
> editor->SetModel(h);
> }
>
Received on Mon Oct 26 2009 - 08:18:10 CET

This archive was generated by hypermail 2.2.0 : Mon Oct 26 2009 - 17:50:02 CET