diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-03-06 19:38:48 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-03-06 19:38:48 (GMT) |
commit | 8e49fdc04b3373f337fe78915ba375b0cde02185 (patch) | |
tree | a8e939656d7366fe014c115c581fa4311c857480 /ds9/library/plotprocess.tcl | |
parent | 879d80b47fdfa7d5f3d54c765b2e28877dabb939 (diff) | |
download | blt-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.tcl | 9 |
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 } |