|
User Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide bshow.pro
| bshow |
procedure bshow, [nfit=integer], [ok=variable], [color=color] |
Overplot a baseline using the stored coefficients in !g.polyfit and !g.nfit and the data in the primary data container (number of channels only).
Note that bshow does not itself do any fitting. This only show the result of the most recent fit. Since the fitted polynomials are orthogonal, using up to !g.nfit of them is itself a valid fit at the lower order.
bshape, nfit=7, /noshow ; fit a 7th order polynomial
bshow ; show it
bshow, nfit=5, color=!blue ; show the 5th order fit