summaryrefslogtreecommitdiffstats
path: root/ds9/parsers
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-08-02 18:57:17 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-08-02 18:57:17 (GMT)
commit302cb76db41b80c4f1736f0c57d5efa129fb9d44 (patch)
tree8e89b761fcc7cb7d19eda1744ec8ca21e453434b /ds9/parsers
parent4ede751525acf5dca111a33b3c821db7efe5c864 (diff)
downloadblt-302cb76db41b80c4f1736f0c57d5efa129fb9d44.zip
blt-302cb76db41b80c4f1736f0c57d5efa129fb9d44.tar.gz
blt-302cb76db41b80c4f1736f0c57d5efa129fb9d44.tar.bz2
support multiple graphs per plot
Diffstat (limited to 'ds9/parsers')
-rw-r--r--ds9/parsers/plotparser.tac2
-rw-r--r--ds9/parsers/plotparser.tcl2
2 files changed, 2 insertions, 2 deletions
diff --git a/ds9/parsers/plotparser.tac b/ds9/parsers/plotparser.tac
index ac6d581..fd1138a 100644
--- a/ds9/parsers/plotparser.tac
+++ b/ds9/parsers/plotparser.tac
@@ -293,7 +293,7 @@ plotCmd : LOAD_ load
# backward compatibility
| ERRORBAR_ errorr
| RELIEF_ relief {PlotCmdUpdateElement graph,ds,bar,relief $2}
- | NAME_ STRING_ {PlotCmdUpdateElement graph,ds,name $2}
+ | NAME_ STRING_ {PlotCmdDataSetName $2}
# backward compatibility
| GRAPH_ oldGraph
diff --git a/ds9/parsers/plotparser.tcl b/ds9/parsers/plotparser.tcl
index 630dd8b..c78fdf0 100644
--- a/ds9/parsers/plotparser.tcl
+++ b/ds9/parsers/plotparser.tcl
@@ -5704,7 +5704,7 @@ proc plot::yyparse {} {
101 { PlotCmdUpdateElement graph,ds,fill $2 }
102 { PlotCmdUpdateElement graph,ds,fill,color $2 }
105 { PlotCmdUpdateElement graph,ds,bar,relief $2 }
- 106 { PlotCmdUpdateElement graph,ds,name $2 }
+ 106 { PlotCmdDataSetName $2 }
109 { PlotCmdLoad $1 xy }
110 { PlotCmdLoad $1 $2 }
111 { PlotCmdExport [ExtToFormat $1] $1 }