Surfaces example
2 from ROOT
import TCanvas, TPaveText, TPad, TF2
3 from ROOT
import gROOT, gStyle
7 c1 =
TCanvas(
'c1',
'Surfaces Drawing Options', 200, 10, 700, 900 )
9 gStyle.SetFrameFillColor( 42 )
11 title.SetFillColor( 33 )
12 title.AddText(
'Examples of Surface options' )
15 pad1 =
TPad(
'pad1',
'Gouraud shading', 0.03, 0.50, 0.98, 0.95, 21 )
16 pad2 =
TPad(
'pad2',
'Color mesh', 0.03, 0.02, 0.98, 0.48, 21 )
21 f2 =
TF2(
'f2',
'x**2 + y**2 - x**3 -8*x*y**4', -1, 1.2, -1.5, 1.5 )
- Author
- Wim Lavrijsen
Definition in file surfaces.py.