summaryrefslogtreecommitdiffstats
path: root/ds9/parsers
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-05-27 20:33:05 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-05-27 20:33:05 (GMT)
commit826894f82a50885a2666762ace148eb3bc950ace (patch)
tree94a982f5a12220d9604a426fa5a3b0b2aee1bc6a /ds9/parsers
parent26a96ff43d7f7b838c8ea7343bd738895c122e9e (diff)
downloadblt-826894f82a50885a2666762ace148eb3bc950ace.zip
blt-826894f82a50885a2666762ace148eb3bc950ace.tar.gz
blt-826894f82a50885a2666762ace148eb3bc950ace.tar.bz2
add multiple plot support
Diffstat (limited to 'ds9/parsers')
-rw-r--r--ds9/parsers/plotsendparser.tac18
-rw-r--r--ds9/parsers/plotsendparser.tcl18
2 files changed, 18 insertions, 18 deletions
diff --git a/ds9/parsers/plotsendparser.tac b/ds9/parsers/plotsendparser.tac
index 5bb9769..2424089 100644
--- a/ds9/parsers/plotsendparser.tac
+++ b/ds9/parsers/plotsendparser.tac
@@ -82,18 +82,18 @@ plotCmd : STATS_ {ProcessSendCmdCVAR PlotStatsGenerate}
| TITLE_ title
| BARMODE_ {ProcessSendCmdCVARGet bar,mode}
| SHOW_ {PlotSendCmdCVARYesNo show}
- | COLOR_ {ProcessSendCmdCVARGet color}
- | FILL_ {ProcessSendCmdCVARGet fill}
- | FILLCOLOR_ {ProcessSendCmdCVARGet fill,color}
+ | COLOR_ {PlotSendCmdCVARGet color}
+ | FILL_ {PlotSendCmdCVARGet fill}
+ | FILLCOLOR_ {PlotSendCmdCVARGet fill,color}
| ERROR_ errorr
# backward compatibility
| ERRORBAR_ errorr
| NAME_ {PlotSendCmdCVARGet name}
| SHAPE_ shape
| RELIEF_ {ProcessSendCmdCVARGet bar,relief}
- | SMOOTH_ {ProcessSendCmdCVARGet smooth}
- | WIDTH_ {ProcessSendCmdCVARGet width}
- | DASH_ {ProcessSendCmdCVARYesNo dash}
+ | SMOOTH_ {PlotSendCmdCVARGet smooth}
+ | WIDTH_ {PlotSendCmdCVARGet width}
+ | DASH_ {PlotSendCmdCVARYesNo dash}
| SELECT_ {PlotSendCmdCVARGet data,current}
# backward compatibility
| DATASET_ {PlotSendCmdCVARGet data,current}
@@ -149,9 +149,9 @@ errorr : {ProcessSendCmdCVARYesNo error}
| WIDTH_ {ProcessSendCmdCVARGet error,width}
;
-shape : {ProcessSendCmdCVARGet shape,symbol}
- | FILL_ {ProcessSendCmdCVARYesNo shape,fill}
- | COLOR_ {ProcessSendCmdCVARGet shape,color}
+shape : {PlotSendCmdCVARGet shape,symbol}
+ | FILL_ {PlotSendCmdCVARYesNo shape,fill}
+ | COLOR_ {PlotSendCmdCVARGet shape,color}
;
%%
diff --git a/ds9/parsers/plotsendparser.tcl b/ds9/parsers/plotsendparser.tcl
index bee2627..ebc5af0 100644
--- a/ds9/parsers/plotsendparser.tcl
+++ b/ds9/parsers/plotsendparser.tcl
@@ -1492,14 +1492,14 @@ proc plotsend::yyparse {} {
17 { ProcessSendCmdCVARGet graph,bg }
21 { ProcessSendCmdCVARGet bar,mode }
22 { PlotSendCmdCVARYesNo show }
- 23 { ProcessSendCmdCVARGet color }
- 24 { ProcessSendCmdCVARGet fill }
- 25 { ProcessSendCmdCVARGet fill,color }
+ 23 { PlotSendCmdCVARGet color }
+ 24 { PlotSendCmdCVARGet fill }
+ 25 { PlotSendCmdCVARGet fill,color }
28 { PlotSendCmdCVARGet name }
30 { ProcessSendCmdCVARGet bar,relief }
- 31 { ProcessSendCmdCVARGet smooth }
- 32 { ProcessSendCmdCVARGet width }
- 33 { ProcessSendCmdCVARYesNo dash }
+ 31 { PlotSendCmdCVARGet smooth }
+ 32 { PlotSendCmdCVARGet width }
+ 33 { PlotSendCmdCVARYesNo dash }
34 { PlotSendCmdCVARGet data,current }
35 { PlotSendCmdCVARGet data,current }
36 { ProcessSendCmdCVARYesNo "axis,$1,grid" }
@@ -1536,9 +1536,9 @@ proc plotsend::yyparse {} {
67 { ProcessSendCmdCVARYesNo error,cap }
68 { ProcessSendCmdCVARGet error,color }
69 { ProcessSendCmdCVARGet error,width }
- 70 { ProcessSendCmdCVARGet shape,symbol }
- 71 { ProcessSendCmdCVARYesNo shape,fill }
- 72 { ProcessSendCmdCVARGet shape,color }
+ 70 { PlotSendCmdCVARGet shape,symbol }
+ 71 { PlotSendCmdCVARYesNo shape,fill }
+ 72 { PlotSendCmdCVARGet shape,color }
}
unsetupvalues $dc
# pop off tokens from the stack if normal rule