summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotprocess.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-05-28 17:31:03 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-05-28 17:31:03 (GMT)
commit24ac9f46d854edfec75630eba1eddc1943da1843 (patch)
tree30df5ee04f02e0514ac2c8f7c40cff4c71969e16 /ds9/library/plotprocess.tcl
parent4f2a9b5c0ecc7a591a2b0329c2250d48d56d9753 (diff)
downloadblt-24ac9f46d854edfec75630eba1eddc1943da1843.zip
blt-24ac9f46d854edfec75630eba1eddc1943da1843.tar.gz
blt-24ac9f46d854edfec75630eba1eddc1943da1843.tar.bz2
add multiple plot support
Diffstat (limited to 'ds9/library/plotprocess.tcl')
-rw-r--r--ds9/library/plotprocess.tcl12
1 files changed, 11 insertions, 1 deletions
diff --git a/ds9/library/plotprocess.tcl b/ds9/library/plotprocess.tcl
index 9a9fa16..ba9044b 100644
--- a/ds9/library/plotprocess.tcl
+++ b/ds9/library/plotprocess.tcl
@@ -75,7 +75,17 @@ proc PrefsDialogPlot {} {
ttk::label $f.smoothtitle -text [msgcat::mc {Smooth}]
ttk::menubutton $f.smooth -textvariable pap(smooth) \
-menu $f.smooth.menu
- PlotLineSmoothMenu $f.smooth.menu pap(smooth)
+ menu $f.smooth.menu
+ $f.smooth.menu add radiobutton -label [msgcat::mc {Step}] \
+ -variable pap(smooth) -value step
+ $f.smooth.menu add radiobutton -label [msgcat::mc {Linear}] \
+ -variable pap(smooth) -value linear
+ $f.smooth.menu add radiobutton -label [msgcat::mc {Cubic}] \
+ -variable pap(smooth) -value cubic
+ $f.smooth.menu add radiobutton -label [msgcat::mc {Quadratic}] \
+ -variable pap(smooth) -value quadratic
+ $f.smooth.menu add radiobutton -label [msgcat::mc {Catrom}] \
+ -variable pap(smooth) -value catrom
grid $f.smoothtitle $f.smooth -padx 2 -pady 2 -sticky w
# Color