summaryrefslogtreecommitdiffstats
path: root/ds9/library/markeranalysisplot2d.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-07-24 21:25:56 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-07-24 21:25:56 (GMT)
commit2f7d0607458b962e7ffe8054f3e3e6b4da01744a (patch)
tree1dbf4b50a3aa9690d2629d8634de0e65c2d22d6a /ds9/library/markeranalysisplot2d.tcl
parent5f7153b8b5e1db87dfcf19afc211ac2a4c43fa8d (diff)
downloadblt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.zip
blt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.tar.gz
blt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.tar.bz2
simplify has wcs command
Diffstat (limited to 'ds9/library/markeranalysisplot2d.tcl')
-rw-r--r--ds9/library/markeranalysisplot2d.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/markeranalysisplot2d.tcl b/ds9/library/markeranalysisplot2d.tcl
index e773eb5..121e948 100644
--- a/ds9/library/markeranalysisplot2d.tcl
+++ b/ds9/library/markeranalysisplot2d.tcl
@@ -220,7 +220,7 @@ proc MarkerAnalysisPlot2dXAxisTitle {vvarname} {
amplifier -
detector {set xtitle "$vvar(system)"}
default {
- if {[$vvar(frame) has wcs equatorial $vvar(system)]} {
+ if {[$vvar(frame) has wcs celestial $vvar(system)]} {
set xtitle "$vvar(system)"
} else {
set xtitle "[$vvar(frame) get wcs name $vvar(system)]"