summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-03-06 18:16:26 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-03-06 18:16:26 (GMT)
commit879d80b47fdfa7d5f3d54c765b2e28877dabb939 (patch)
tree5ac5b4111b2eb26a3125f4556a8fbcc49e77c203
parenta61116da282f1a48e0cf1151155e868b00bd41f4 (diff)
downloadblt-879d80b47fdfa7d5f3d54c765b2e28877dabb939.zip
blt-879d80b47fdfa7d5f3d54c765b2e28877dabb939.tar.gz
blt-879d80b47fdfa7d5f3d54c765b2e28877dabb939.tar.bz2
PLOT: use ds9(bg) for background color
-rw-r--r--ds9/doc/release/r8.1.html1
-rw-r--r--ds9/library/plotbar.tcl2
-rw-r--r--ds9/library/plotline.tcl2
-rw-r--r--ds9/library/plotscatter.tcl2
4 files changed, 7 insertions, 0 deletions
diff --git a/ds9/doc/release/r8.1.html b/ds9/doc/release/r8.1.html
index 91f3a65..7dae10b 100644
--- a/ds9/doc/release/r8.1.html
+++ b/ds9/doc/release/r8.1.html
@@ -58,6 +58,7 @@
<li><tt>03.04.2019 CATALOG: fixed issue allowing column names for size/size2/angle via parser.</tt></li>
<li><tt>03.06.2019 PLOT: update error cap documentation.</tt></li>
<li><tt>03.06.2019 PLOT: Line Plot, add 0 width option to Width Menu</tt></li>
+<li><tt>03.06.2019 PLOT: use ds9(bg) for background color</tt></li>
<li><tt><b>xx.xx.2019 RELEASE version 8.1b1</b></tt></li>
</ol>
</div>
diff --git a/ds9/library/plotbar.tcl b/ds9/library/plotbar.tcl
index 3a1a75c..3779aa6 100644
--- a/ds9/library/plotbar.tcl
+++ b/ds9/library/plotbar.tcl
@@ -145,6 +145,8 @@ proc PlotDialogBar {varname} {
-width 600 \
-height 500 \
-highlightthickness 0 \
+ -bg $ds9(bg) \
+ -plotbackground $ds9(bg) \
]
$var(graph) xaxis configure -grid no -stepsize 0
diff --git a/ds9/library/plotline.tcl b/ds9/library/plotline.tcl
index 7ad08cc..eae53f3 100644
--- a/ds9/library/plotline.tcl
+++ b/ds9/library/plotline.tcl
@@ -225,6 +225,8 @@ proc PlotDialogLine {varname} {
-width 600 \
-height 500 \
-highlightthickness 0 \
+ -bg $ds9(bg) \
+ -plotbackground $ds9(bg) \
]
pack $var(graph) -expand yes -fill both
diff --git a/ds9/library/plotscatter.tcl b/ds9/library/plotscatter.tcl
index a9b7fc5..18f7944 100644
--- a/ds9/library/plotscatter.tcl
+++ b/ds9/library/plotscatter.tcl
@@ -152,6 +152,8 @@ proc PlotDialogScatter {varname} {
-width 600 \
-height 500 \
-highlightthickness 0 \
+ -bg $ds9(bg) \
+ -plotbackground $ds9(bg) \
]
pack $var(graph) -expand yes -fill both