RE: setting up TLegend in global style

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Fri, 18 Sep 2009 16:06:16 +0200


Hi,
The BuildLegend set the legend position using input parameters. The default values put it top right.
But you can define them when you create the legend. Look at the BuildLegend help.
O.Couet

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Stephan Zimmer
Sent: Friday, September 18, 2009 4:02 PM To: roottalk_at_root.cern.ch
Subject: [ROOT] setting up TLegend in global style

Hi Rooters,
is there a way of changing the predefined location in a Canvas/Pad of a legend? Whenever I use BuildLegend(), then it ROOT creates a legend in the upper right - is there a way of setting this up globally? Thank you very much,
Best regards,
Stephan Zimmer Received on Fri Sep 18 2009 - 16:06:31 CEST

This archive was generated by hypermail 2.2.0 : Fri Sep 18 2009 - 17:50:02 CEST