summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotbar.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/plotbar.tcl')
-rw-r--r--ds9/library/plotbar.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/plotbar.tcl b/ds9/library/plotbar.tcl
index b4bc69a..01fe9f2 100644
--- a/ds9/library/plotbar.tcl
+++ b/ds9/library/plotbar.tcl
@@ -181,7 +181,7 @@ proc PlotBarUpdateElement {varname} {
}
set nn $var($cc,data,current)
- $var($cc) element configure "d-${nn}" \
+ $var(graph) element configure "d-${nn}" \
-label $var(graph,ds,name) -hide [expr !$var(graph,ds,show)] \
-relief $var(graph,ds,bar,relief) -color $var(graph,ds,color) \
-showerrorbars $show -errorbarcolor $var(graph,ds,error,color) \