RE: TGraph: BuildLegend() and the Draw() default options

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Thu, 24 Jun 2010 16:04:57 +0200


Hi,

The option "A" is mandatory when draw a graph with axis. When this option is omitted the graph is drawn in the current pad (see the help).
I'll check the question about TGraph.BuildLegend().

O.Couet

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Vassili Maroussov
Sent: Thursday, June 24, 2010 4:01 PM
To: roottalk_at_root.cern.ch
Subject: [ROOT] TGraph: BuildLegend() and the Draw() default options

Dear ROOTers,

I've found that TGraph.Draw() with no options given (like "LA", etc.) just produces an empty TCanvas. Don't you think something must be drawn with default options? Another question is about the TGraph.BuildLegend() : for some reason it uses black background for the legend graphical part, - please see the image attached. How to correct that?

Regards,

Vassili Received on Thu Jun 24 2010 - 16:05:03 CEST

This archive was generated by hypermail 2.2.0 : Thu Jun 24 2010 - 17:50:01 CEST