diff options
Diffstat (limited to 'ds9/library/plotline.tcl')
-rw-r--r-- | ds9/library/plotline.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ds9/library/plotline.tcl b/ds9/library/plotline.tcl index 5f21f07..3c2a003 100644 --- a/ds9/library/plotline.tcl +++ b/ds9/library/plotline.tcl @@ -170,8 +170,7 @@ proc PlotLineUpdateElement {varname} { return } - set nn $var(graph$cc,data,current) - PlotGetVar $varname $nn + PlotSaveState $varname if {$var(graph$cc,fill)} { set fillClr $var(graph$cc,fill,color) @@ -203,6 +202,7 @@ proc PlotLineUpdateElement {varname} { set cap 0 } + set nn $var(graph$cc,data,current) $var(graph$cc) element configure "d-${nn}" \ -label $var(graph$cc,name) -hide [expr !$var(graph$cc,show)] \ -symbol $var(graph$cc,shape,symbol) -fill $clr -scalesymbols no \ |