summaryrefslogtreecommitdiffstats
path: root/ds9/library/markeranalysispanda.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-06-06 16:55:19 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-06-06 16:55:19 (GMT)
commitd953f256a5c736b285d0a762caf0dabcbe5df4b5 (patch)
treebfb7ce7284fb52e79b3458e6a3e59a88e7b4198e /ds9/library/markeranalysispanda.tcl
parent10be2d85ae114d9e0e34eb438f49fbe54ea17779 (diff)
downloadblt-d953f256a5c736b285d0a762caf0dabcbe5df4b5.zip
blt-d953f256a5c736b285d0a762caf0dabcbe5df4b5.tar.gz
blt-d953f256a5c736b285d0a762caf0dabcbe5df4b5.tar.bz2
support multiple graphs per plot
Diffstat (limited to 'ds9/library/markeranalysispanda.tcl')
-rw-r--r--ds9/library/markeranalysispanda.tcl9
1 files changed, 5 insertions, 4 deletions
diff --git a/ds9/library/markeranalysispanda.tcl b/ds9/library/markeranalysispanda.tcl
index d60b158..d14871a 100644
--- a/ds9/library/markeranalysispanda.tcl
+++ b/ds9/library/markeranalysispanda.tcl
@@ -151,10 +151,11 @@ proc MarkerAnalysisPandaAxisTitle {vvarname} {
}
# set for plot code
- set vvar(axis,x,title) $xtitle
- set vvar(axis,y,title) $ytitle
+ set vvar(graph,axis,x,title) $xtitle
+ set vvar(graph,axis,y,title) $ytitle
# update now (may not make it into plot code)
- $vvar(graph) xaxis configure -title $xtitle
- $vvar(graph) yaxis configure -title $ytitle
+ set cc $vvar(graph,current)
+ $vvar($cc) xaxis configure -title $xtitle
+ $vvar($cc) yaxis configure -title $ytitle
}