summaryrefslogtreecommitdiffstats
path: root/ds9/library/markeranalysishist.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-06-06 21:18:30 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-06-06 21:18:30 (GMT)
commit86fcbe6827bd920c0fc8317d63f37697f0c22ad8 (patch)
tree00ff86c077df7dcad892195604f23bf4beebe6ca /ds9/library/markeranalysishist.tcl
parentd96b6868ce44cf9094f22a17054a7b6d316fbb3e (diff)
downloadblt-86fcbe6827bd920c0fc8317d63f37697f0c22ad8.zip
blt-86fcbe6827bd920c0fc8317d63f37697f0c22ad8.tar.gz
blt-86fcbe6827bd920c0fc8317d63f37697f0c22ad8.tar.bz2
support multiple graphs per plot
Diffstat (limited to 'ds9/library/markeranalysishist.tcl')
-rw-r--r--ds9/library/markeranalysishist.tcl7
1 files changed, 4 insertions, 3 deletions
diff --git a/ds9/library/markeranalysishist.tcl b/ds9/library/markeranalysishist.tcl
index ed585f3..556241c 100644
--- a/ds9/library/markeranalysishist.tcl
+++ b/ds9/library/markeranalysishist.tcl
@@ -86,13 +86,14 @@ proc MarkerAnalysisHistogramCB {frame id} {
set vvar(graph,ds,ydata) $ydata
blt::vector create $xdata $ydata
}
-
+
$frame get marker $id analysis histogram $xdata $ydata $vvar(nbins)
if {!$ping} {
PlotExternal $vvarname
- set vvar(smooth) step
- set vvar(fill) 1
+ set vvar(graph,ds,smooth) step
+ set vvar(graph,ds,fill) 1
+
$vvar(proc,updateelement) $vvarname
$vvar(proc,updategraph) $vvarname
}