Re: Retrieving 3D Tree::Draw("a:b:c") result -- ADDENDUM

From: Tommaso Chiarusi <tommaso.chiarusi_at_bo.infn.it>
Date: Fri, 20 May 2005 15:48:30 +0200


Thank you Rene!!!
I'll setup the CVS version then... hoping it will compile on MacOSX

Tom

On May 20, 2005, at 3:31 PM, Rene Brun wrote:

> Hi Tommaso,
>
> In the CVS version I have added TPolyMarker3D::SetName and GetName,
> the default name being "TPolyMarker3D" for back compatibility.
> After having called TTree::Draw, you can do:
> TPolyMarker3D *pm =
> (TPolyMarker3D*)gPad->GetPrimitive("TPolyMarker3D");
> pm->SetName("newname");
> then make a new TTree::Draw, etc
>
> Rene Brun
>
> On Fri, 20 May 2005, Tommaso Chiarusi wrote:
>
>>
>>
>>
>>
>> I apparently solved my task, by inserting between the TTree::Draw()
>> lines the TTree::SetMarkerXXXX() call....
>> I.E.
>>
>>
>> ntuple->Draw("z:y:x","","", 3401, 0);
>> ntuple->SetMarkerStyle(30);
>> ntuple->SetMarkerColor(2);
>> ntuple->Draw("cz:cy:cx","","same", 3401, 0);
>>
>> getting this result...
>>
>>
>>
>>

--
Dr. Tommaso Chiarusi

Sett. Astroparticle Physics, Gruppo NEMO
Dipartimento di Fisica  Universita' di Roma "La Sapienza"
INFN - Sezione di Roma 1
P.zle Aldo Moro n.2 00185 Roma, Italia

Tel. Uff.  +39.06.4991.4408
Received on Fri May 20 2005 - 15:48:23 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET