This demo shows how to use transparency. 
On MacOS X you can see the transparency in a canvas, you can save canvas contents as pdf/png (and thus you'll have an image with transparency on every platform).
 
 
{
 
   auto cnv = 
new TCanvas(
"trasnparency", 
"transparency demo", 600, 400);
 
 
   auto hist = 
new TH1F(
"a5", 
"b5", 10, -2., 3.);
 
   auto hist2 = 
new TH1F(
"c6", 
"d6", 10, -3., 3.);
 
   hist->FillRandom("landau", 100000);
   hist2->FillRandom(
"gaus", 100000);
 
 
 
   hist->Draw("SAME");
}
float Float_t
Float 4 bytes (float)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
R__EXTERN TStyle * gStyle
 
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...
 
1-D histogram with a float per channel (see TH1 documentation)
 
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
 
- Author
 - Timur Pocheptsov 
 
Definition in file transp.C.