|
The HBOOK routine HFINAM (described in the HBOOK documentation) may be called after the Histo/Fit command. The name of the parameters will be stored into the HBOOK data structure (and preserved across Hrout/Hrin operations). This routine may be called from a COMIS program.
Example:
Hi/fit 10 userf.f 0 6 parvalues
Application COMIS quit
Subroutine Set_names
Parameter (Npar=6)
Character*8 Names(Npar)
Names(1)='p1_name'
Names(2)=...
Call Hfinam(10,names,npar)
End
Quit
Call Set_names
Opt fit
Histo/Plot 10
Note the 0 option for CHOPT in Histo/Fit: the plot is not done by the fit
command.
If one of the names begins with "-", the parameters is not drawn when the option "FIT" is on.
The routine HGFIT (see HBOOK manual) return all the fit parameters including the parameter names. This routine takes the info from the HBOOK data structure.
![]() | Release Notes | Known bugs | FAQs | Contributions | Tutorial | Reference manual | Down load | Miscellaneous |