summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotprocess.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-03-06 19:38:48 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-03-06 19:38:48 (GMT)
commit8e49fdc04b3373f337fe78915ba375b0cde02185 (patch)
treea8e939656d7366fe014c115c581fa4311c857480 /ds9/library/plotprocess.tcl
parent879d80b47fdfa7d5f3d54c765b2e28877dabb939 (diff)
downloadblt-8e49fdc04b3373f337fe78915ba375b0cde02185.zip
blt-8e49fdc04b3373f337fe78915ba375b0cde02185.tar.gz
blt-8e49fdc04b3373f337fe78915ba375b0cde02185.tar.bz2
PLOT: support graph bg color
Diffstat (limited to 'ds9/library/plotprocess.tcl')
-rw-r--r--ds9/library/plotprocess.tcl9
1 files changed, 8 insertions, 1 deletions
diff --git a/ds9/library/plotprocess.tcl b/ds9/library/plotprocess.tcl
index 7575013..d4bef17 100644
--- a/ds9/library/plotprocess.tcl
+++ b/ds9/library/plotprocess.tcl
@@ -12,6 +12,13 @@ proc PrefsDialogPlot {} {
$dprefs(list) insert end [msgcat::mc {Plot}]
lappend dprefs(tabs) [ttk::frame $w.plot]
+ # Graph
+ set f [ttk::labelframe $w.plot.graph -text [msgcat::mc {Graph}]]
+ ttk::label $f.tbg -text [msgcat::mc {Background}]
+ ColorMenuButton $f.bg pap graph,bg {}
+
+ grid $f.tbg $f.bg -padx 2 -pady 2 -sticky w
+
# Grid
set f [ttk::labelframe $w.plot.grid -text [msgcat::mc {Grid}]]
ttk::label $f.ttitle -text [msgcat::mc {Title}]
@@ -95,7 +102,7 @@ proc PrefsDialogPlot {} {
grid $f.errortitle $f.error $f.errorcap $f.errorcolor $f.errorwidth \
-padx 2 -pady 2 -sticky w
- pack $w.plot.grid $w.plot.axis $w.plot.dataset \
+ pack $w.plot.graph $w.plot.grid $w.plot.axis $w.plot.dataset \
-side top -fill both -expand true
}