Logo ROOT   6.08/07
Reference Guide
grad.C File Reference

Detailed Description

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.