Hi Michael, The "Plain" style is setting to 0 only the canvas & pad fill colors, not the general fillColor. The TLegend is already using the TStyle settings. In your case, after having set gROOT->SetStyle("Plain"), do gStyle->SetFillColor(0). Note that when using the FillColor = 0, one cannot use the zoom facility on the axis. The previous picture is not erased. Rene Brun M. Sievers wrote: > > Hello, > > would it be possible to make the very useful TLegend class respect the > Style setting, e.g. "Plain"? Right now, it always has a background. > > Bye, > Mike > > -------------------------------------------------------------------------- > Michael Sievers > Michael.Sievers@desy.de > -------------------------------------------------------------------------- > esa$ gcc -Wall -o ariane5 ariane4.c > ariane4.c: 666: warning: long float implicitly truncated to unsigned type > esa$ ariane5
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET