How to add my defined function to TBrowser?


Please read tips for efficient and successful posting and posting code

I want to add my student function after I run my plot code.How to do it?Thanks

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


I think you are talking about the Fit Panel, not TBrowser. May be @moneta can help.

Hi,
When you create a TF1 object with a given name, the function should be then visible in the FitPanel to use it under the type “User Func”.

For example if you create a TF1 with the name “myFunc”, you should see this below:

image

Cheers

Lorenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.