;+ ; 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). ; ; @keyword nfit {in}{optional}{type=integer} Only use at most nfit ; parameters. If !g.nfit is < nfit, then only !g.nfit parameters will ; be used and a warning will be issued. ; ; @keyword ok {in}{optional}{type=boolean} This is set to 1 on ; success and 0 on failure. ; ; ; ; @uses getbasemodel ; @uses gbtoplot ; ; @version $Id: bshow.pro,v 1.1 2005/04/26 19:12:27 bgarwood Exp $ ;- pro bshow, nfit=nfit, ok=ok, color=color compile_opt idl2 model = getbasemodel(nfit=nfit, ok=ok) if ok then gbtoplot, model, /chan, color=color end