TF1 example.
from ROOT import TCanvas, TFormula, TF1
from ROOT import gROOT, gObjectTable
c1 =
TCanvas(
'c1',
'Example with Formula', 200, 10, 700, 500 )
form1 =
TFormula(
'form1',
'sqrt(abs(x))' )
fun1 =
TF1(
'fun1',
'abs(sin(x)/x)', 0, 10 )
if ( gObjectTable ):
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
- Author
- Wim Lavrijsen
Definition in file formula1.py.