ROOT 6.10/09 Reference Guide |
This macro demonstrates how to create and use linear gradients to fill a histogram or a pad.
To use this macro you need OpenGL enabled in pad: either set OpenGL.CanvasPreferGL to 1 in $ROOTSYS/etc/system.rootrc; or call gStyle->SetCanvasPreferGL(kTRUE);
before canvas created.
Definition in file grad.C.