diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-09-27 21:19:04 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-09-27 21:19:04 (GMT) |
commit | cc5df79627b75a1fcd807ff73319e1a3d3cb2b63 (patch) | |
tree | cc9a0745bdd56072d15f0cea1b258a8fccf8daba /ds9/library/markeranalysishist.tcl | |
parent | eafc6af129cf5f2c71ee4fde54885e0167dd96e5 (diff) | |
download | blt-cc5df79627b75a1fcd807ff73319e1a3d3cb2b63.zip blt-cc5df79627b75a1fcd807ff73319e1a3d3cb2b63.tar.gz blt-cc5df79627b75a1fcd807ff73319e1a3d3cb2b63.tar.bz2 |
REGION: use BUNIT keyword if available
Diffstat (limited to 'ds9/library/markeranalysishist.tcl')
-rw-r--r-- | ds9/library/markeranalysishist.tcl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ds9/library/markeranalysishist.tcl b/ds9/library/markeranalysishist.tcl index 9bb109b..83d57a9 100644 --- a/ds9/library/markeranalysishist.tcl +++ b/ds9/library/markeranalysishist.tcl @@ -74,7 +74,11 @@ proc MarkerAnalysisHistogramCB {frame id} { if {!$ping} { set tt [string totitle [$frame get marker $id type]] - PlotLineDialog $vvarname $tt Histogram Values Counts + set bunit [string trim [$frame get fits header keyword BUNIT]] + if {$bunit=={}} { + set bunit {Values} + } + PlotLineDialog $vvarname $tt Histogram $bunit Counts set vvar(manage) 0 set vvar(dim) xy |