Display interpreted functions.
TCanvas *c1 =
new TCanvas(
"c1",
"Example with Formula",200,10,700,500);
auto form1 =
new TFormula(
"form1",
"sqrt(abs(x))");
auto fun1 =
new TF1(
"fun1",
"abs(sin(x)/x)",0,10);
fun1->Draw();
}
- Author
- Rene Brun
Definition in file formula1.C.