Bug in DrawPanel

Rudi Lutter (Rudi.Lutter@Physik.uni-muenchen.de)
Mon, 2 Jun 1997 13:15:47 +0200 (MET DST)


Dear roots,

I think there is bug in "DrawPanel":
Try the following:
(1) run "hsimple" to produce a histogram
(2) click on the curve to get the DrawPanel for "hpx"
(3) use the slider to select a region
(4) click on the curve once more to get "FitPanel"
(5) do a gaussian fit for example
(6) click on the fitted curve to get a DrawPanel again
(7) the above DrawPanel (2) will then be reassigned to "gauss"
(8) trying to use the slider causes "segment violation"
(9) the original histogram "hpx" vanishes

It seems that some "hpx" defs are left in the DrawPanel when it is reused
for the "gauss" curve.

Rudi.

-- 
         __     __  __            / Rudi Lutter                                /
  ____  / /_ __/ /_/ /____ ____  /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
 / __/ / / // / __/ __/ -_) __/ / Email: Rudi.Lutter@Physik.Uni-Muenchen.DE  /
/_/   /_/\_,_/\__/\__/\__/_/   / WWW: http://www.bl.physik.tu-muenchen.de/  /
                              /                           ~rudi/rudi.html  /
-----------------------------/ Tel:   (+49) 89 289 1 4287                 /
                            / Fax:   (+49) 89 289 1 4280                 /
                           /--------------------------------------------/
                          / Beschleunigerlabor der LMU und TU Muenchen /
                         / Hochschulgelaende, D-85748 GARCHING, Germany
                        *--------------------------------------------*