summaryrefslogtreecommitdiffstats
path: root/ds9/parsers
diff options
context:
space:
mode:
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 }