diff options
Diffstat (limited to 'ds9/library/plot.tcl')
-rw-r--r-- | ds9/library/plot.tcl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ds9/library/plot.tcl b/ds9/library/plot.tcl index 0cc8194..7c6e8b5 100644 --- a/ds9/library/plot.tcl +++ b/ds9/library/plot.tcl @@ -88,6 +88,19 @@ proc PlotAddPlot {varname} { global $varname global ds9 + + incr ${varname}(plot,total) + incr ${varname}(plot,current) 0 + + set cc $var(plot,current) + + set var(plot,$cc,data,total) 0 + set var(plot,$cc,data,current) 0 + + set var(data,total) $var(plot,$cc,data,total) + set var(data,current) $var(plot,$cc,data,current) + + $var(proc,addplot) $varname } proc PlotAxisFormat {varname axis w nn} { |