diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-07-01 20:52:10 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-07-01 20:52:10 (GMT) |
commit | 6ed14079b7fc605d2a3e83216ece39cac613aabf (patch) | |
tree | 356d8ba73cb43d1c5f1edfb1a3de99cb8f884278 /ds9/library | |
parent | 4d53b5b4135ecffcfd04ed62f8d83da0eb9e761d (diff) | |
download | blt-6ed14079b7fc605d2a3e83216ece39cac613aabf.zip blt-6ed14079b7fc605d2a3e83216ece39cac613aabf.tar.gz blt-6ed14079b7fc605d2a3e83216ece39cac613aabf.tar.bz2 |
PLOT3D: simplify code for generating plot3d cursor
Diffstat (limited to 'ds9/library')
-rw-r--r-- | ds9/library/markeranalysisplot3d.tcl | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ds9/library/markeranalysisplot3d.tcl b/ds9/library/markeranalysisplot3d.tcl index 2b93cbc..5a12851 100644 --- a/ds9/library/markeranalysisplot3d.tcl +++ b/ds9/library/markeranalysisplot3d.tcl @@ -207,7 +207,6 @@ proc MarkerAnalysisPlot3dMotion {vvarname xx yy} { set vvar(slice) [lindex [$vvar(graph) invtransform $xx $yy] 0] $vvar(frame) update fits slice $vvar(slice) $vvar(system) $vvar(sky) - MarkerAnalysisPlot3dMarker $vvarname # current frame only @@ -224,16 +223,6 @@ proc MarkerAnalysisPlot3dMarker {vvarname} { upvar #0 $vvarname vvar global $vvarname - set ss [$vvar(frame) get crop 3d $vvar(system) $vvar(sky)] - set min [lindex $ss 0] - set max [lindex $ss 1] - set delta [expr ($max-$min)*.0001] - if {[::math::fuzzy::tle $vvar(slice) $min]} { - set vvar(slice) [expr $min+$delta] - } - if {[::math::fuzzy::tge $vvar(slice) $max]} { - set vvar(slice) [expr $max-$delta] - } $vvar(graph) marker configure $vvar(markerslice) \ -coords "$vvar(slice) -Inf $vvar(slice) Inf" } |