summaryrefslogtreecommitdiffstats
path: root/ds9/parsers
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-06-07 15:44:38 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-06-07 15:44:38 (GMT)
commit72cee7539e883903b6bfec4fd03738753457b992 (patch)
tree9b81edba6628086708626189978191423f3b4a56 /ds9/parsers
parent86fcbe6827bd920c0fc8317d63f37697f0c22ad8 (diff)
downloadblt-72cee7539e883903b6bfec4fd03738753457b992.zip
blt-72cee7539e883903b6bfec4fd03738753457b992.tar.gz
blt-72cee7539e883903b6bfec4fd03738753457b992.tar.bz2
support multiple graphs per plot
Diffstat (limited to 'ds9/parsers')
-rw-r--r--ds9/parsers/plotparser.tac6
-rw-r--r--ds9/parsers/plotparser.tcl6
2 files changed, 6 insertions, 6 deletions
diff --git a/ds9/parsers/plotparser.tac b/ds9/parsers/plotparser.tac
index 8a9c559..80bc957 100644
--- a/ds9/parsers/plotparser.tac
+++ b/ds9/parsers/plotparser.tac
@@ -230,7 +230,7 @@ plotCmd : LOAD_ load
| SAVE_ STRING_ {PlotCmdSave $2}
# xpa/samp only
| DATA_ dim {PlotCmdData $2}
- | CLEAR_ {ProcessCmdCVAR0 PlotDeleteData}
+ | CLEAR_ {ProcessCmdCVAR0 PlotDeleteAllDataSet}
| EXPORT_ export
| DUPLICATE_ duplicate
# backward compatibility
@@ -303,8 +303,8 @@ load : STRING_ {PlotCmdLoad $1 xy}
| STRING_ dim {PlotCmdLoad $1 $2}
;
-duplicate : {global cvarname; PlotDupData $cvarname 1}
- | INT_ {global cvarname; PlotDupData $cvarname $1}
+duplicate : {global cvarname; PlotDupDataSet $cvarname 1}
+ | INT_ {global cvarname; PlotDupDataSet $cvarname $1}
;
pagesetup : ORIENT_ pageOrient {ProcessCmdSet ps orient $2}
diff --git a/ds9/parsers/plotparser.tcl b/ds9/parsers/plotparser.tcl
index 93d01c5..3dc471e 100644
--- a/ds9/parsers/plotparser.tcl
+++ b/ds9/parsers/plotparser.tcl
@@ -5420,7 +5420,7 @@ proc plot::yyparse {} {
62 { set _ xyexey }
64 { PlotCmdSave $2 }
65 { PlotCmdData $2 }
- 66 { ProcessCmdCVAR0 PlotDeleteData }
+ 66 { ProcessCmdCVAR0 PlotDeleteAllDataSet }
70 { ProcessCmdCVAR stats $2 PlotStats }
71 { ProcessCmdCVAR stats $2 PlotStats }
72 { ProcessCmdCVAR list $2 PlotList }
@@ -5455,8 +5455,8 @@ proc plot::yyparse {} {
114 { ProcessCmdSet iap jpeg,quality $1 }
115 { PlotCmdLoad $1 xy }
116 { PlotCmdLoad $1 $2 }
- 117 { global cvarname; PlotDupData $cvarname 1 }
- 118 { global cvarname; PlotDupData $cvarname $1 }
+ 117 { global cvarname; PlotDupDataSet $cvarname 1 }
+ 118 { global cvarname; PlotDupDataSet $cvarname $1 }
119 { ProcessCmdSet ps orient $2 }
120 { ProcessCmdSet ps orient $2 }
121 { ProcessCmdSet ps size $2 }