pro ltf_plothist, avg, var, xx, h, f_xx, hist_fit, peak, gainc, fwhm

;
;
;

!fancy = 1
!type = 16
!c=0
set_xy

!xtitle = 'Gain Constant (e/DN)
!ytitle = 'Frequency

!psym=10
plot, xx, h

!psym=0
oplot, f_xx, hist_fit

sout = 'Gauss Fit -- Gain Const: ' + string(gainc, '(f7.2)') + $
		'  (FWHM: ' + string(fwhm, '(f7.2)') + ')'
plottime, 0.15, .70, sout, 0.80
;
return
end
