diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-05-30 20:09:45 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-05-30 20:09:45 (GMT) |
commit | f6e3a9d54ed5dd02aeda5f441146a42935082610 (patch) | |
tree | c383a12e04146d926a82a23c95f3df71c3db5497 /ds9/library/plotline.tcl | |
parent | 206d3c1b9c3c7f563898f8f8aa590a543f308eaa (diff) | |
download | blt-f6e3a9d54ed5dd02aeda5f441146a42935082610.zip blt-f6e3a9d54ed5dd02aeda5f441146a42935082610.tar.gz blt-f6e3a9d54ed5dd02aeda5f441146a42935082610.tar.bz2 |
add multiple plot support
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 \ |