Re: middle mouse button

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jun 22 1999 - 15:07:16 MEST


Hi Valeri,
The middle button is used to pop objects on the pad.
Unfortunately in the case of your example, you are poping the
TPolyMarker object used to draw the scatter plot beyond the dummy
histogram used to set the scale.
You can see the current order of objects in the pad by doing
 c1->ls(); //if c1 is your current pad.
To get the polymarker object on top again, you can do
 c1->GetPrimitive("TPolyMarker")->Pop();

Rene Brun


Tioukov Valeri wrote:
> 
> Hi Rene,
> 
> One more question about mouse.  If I do:
> root> TreeTK->Draw("fZ:fY")
> 
> and after click on the plot by the middle mouse button - data (dots) are
> dissapeared from the plot. Is it normal?
> 
> If I do instead:
> 
> root> TreeTK->Draw("fZ:fY>>h2")
> root> h2->Draw()
> 
> nothin happend on the middle button click (just pad selection - as
> expected).
> 
> Regards
> Valeri



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET