summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotconfig.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-07-08 20:58:33 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-07-08 20:58:33 (GMT)
commit34fa6ca80f43608aab5f64f8f211563cfd5feed3 (patch)
tree120fb2509ea38407dfaffe88a80df6e2dd98adfb /ds9/library/plotconfig.tcl
parent76025f28fdf7c43b890fe44af5926d513ab60479 (diff)
downloadblt-34fa6ca80f43608aab5f64f8f211563cfd5feed3.zip
blt-34fa6ca80f43608aab5f64f8f211563cfd5feed3.tar.gz
blt-34fa6ca80f43608aab5f64f8f211563cfd5feed3.tar.bz2
support multiple graphs per plot
Diffstat (limited to 'ds9/library/plotconfig.tcl')
-rw-r--r--ds9/library/plotconfig.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/ds9/library/plotconfig.tcl b/ds9/library/plotconfig.tcl
index c616b80..ecaa49f 100644
--- a/ds9/library/plotconfig.tcl
+++ b/ds9/library/plotconfig.tcl
@@ -27,6 +27,8 @@ proc PlotLoadConfigFile {varname filename} {
set var(graph,title,weight) $analysisplot(graph,title,weight)
set var(graph,title,slant) $analysisplot(graph,title,slant)
+ set var(legend) $analysisplot(legend)
+ set var(legend,position) $analysisplot(legend,position)
set var(legend,title,family) $analysisplot(legend,title,family)
set var(legend,title,size) $analysisplot(legend,title,size)
set var(legend,title,weight) $analysisplot(legend,title,weight)
@@ -49,9 +51,7 @@ proc PlotLoadConfigFile {varname filename} {
# per Graph
set var(graph,title) $analysisplot(graph,title)
- set var(graph,legend) $analysisplot(legend)
set var(graph,legend,title) $analysisplot(legend,title)
- set var(graph,legend,position) $analysisplot(legend,position)
set var(graph,axis,x,title) $analysisplot(axis,x,title)
set var(graph,axis,x,grid) $analysisplot(axis,x,grid)
@@ -207,6 +207,8 @@ proc PlotSaveConfigFile {varname filename} {
set analysisplot(graph,title,weight) $var(graph,title,weight)
set analysisplot(graph,title,slant) $var(graph,title,slant)
+ set analysisplot(legend) $var(legend)
+ set analysisplot(legend,position) $var(legend,position)
set analysisplot(legend,title,family) $var(legend,title,family)
set analysisplot(legend,title,size) $var(legend,title,size)
set analysisplot(legend,title,weight) $var(legend,title,weight)
@@ -229,9 +231,7 @@ proc PlotSaveConfigFile {varname filename} {
# per Graph
set analysisplot(graph,title) $var(graph,title)
- set analysisplot(legend) $var(graph,legend)
set analysisplot(legend,title) $var(graph,legend,title)
- set analysisplot(legend,position) $var(graph,legend,position)
set analysisplot(axis,x,title) $var(graph,axis,x,title)
set analysisplot(axis,x,grid) $var(graph,axis,x,grid)