summaryrefslogtreecommitdiffstats
path: root/ds9/parsers
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-07-08 20:58:33 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-07-08 20:58:33 (GMT)
commit34fa6ca80f43608aab5f64f8f211563cfd5feed3 (patch)
tree120fb2509ea38407dfaffe88a80df6e2dd98adfb /ds9/parsers
parent76025f28fdf7c43b890fe44af5926d513ab60479 (diff)
downloadblt-34fa6ca80f43608aab5f64f8f211563cfd5feed3.zip
blt-34fa6ca80f43608aab5f64f8f211563cfd5feed3.tar.gz
blt-34fa6ca80f43608aab5f64f8f211563cfd5feed3.tar.bz2
support multiple graphs per plot
Diffstat (limited to 'ds9/parsers')
-rw-r--r--ds9/parsers/plotparser.tac4
-rw-r--r--ds9/parsers/plotparser.tcl4
-rw-r--r--ds9/parsers/plotsendparser.tac4
-rw-r--r--ds9/parsers/plotsendparser.tcl4
4 files changed, 8 insertions, 8 deletions
diff --git a/ds9/parsers/plotparser.tac b/ds9/parsers/plotparser.tac
index fd6cdff..0e51959 100644
--- a/ds9/parsers/plotparser.tac
+++ b/ds9/parsers/plotparser.tac
@@ -368,8 +368,8 @@ axis : xy GRID_ yesno {PlotCmdUpdateGraph "graph,axis,$1,grid" $3}
| xy FORMAT_ STRING_ {PlotCmdUpdateGraph "graph,axis,$1,format" $3}
;
-legend : yesno {PlotCmdUpdateGraph graph,legend $1}
- | POSITION_ legendPos {PlotCmdUpdateGraph graph,legend,position $2}
+legend : yesno {PlotCmdUpdateCanvas legend $1}
+ | POSITION_ legendPos {PlotCmdUpdateCanvas legend,position $2}
;
legendPos : RIGHT_ {set _ right}
diff --git a/ds9/parsers/plotparser.tcl b/ds9/parsers/plotparser.tcl
index a928762..e166130 100644
--- a/ds9/parsers/plotparser.tcl
+++ b/ds9/parsers/plotparser.tcl
@@ -5613,8 +5613,8 @@ proc plot::yyparse {} {
153 { PlotCmdUpdateGraph "graph,axis,$1,min" $3 }
154 { PlotCmdUpdateGraph "graph,axis,$1,max" $3 }
155 { PlotCmdUpdateGraph "graph,axis,$1,format" $3 }
- 156 { PlotCmdUpdateGraph graph,legend $1 }
- 157 { PlotCmdUpdateGraph graph,legend,position $2 }
+ 156 { PlotCmdUpdateCanvas legend $1 }
+ 157 { PlotCmdUpdateCanvas legend,position $2 }
158 { set _ right }
159 { set _ left }
160 { set _ top }
diff --git a/ds9/parsers/plotsendparser.tac b/ds9/parsers/plotsendparser.tac
index a18f17b..4916c0a 100644
--- a/ds9/parsers/plotsendparser.tac
+++ b/ds9/parsers/plotsendparser.tac
@@ -115,8 +115,8 @@ axis : xy GRID_ {ProcessSendCmdCVARYesNo "graph,axis,$1,grid"}
| xy FORMAT_ {ProcessSendCmdCVARGet "graph,axis,$1,format"}
;
-legend : {ProcessSendCmdCVARYesNo graph,legend}
- | POSITION_ {ProcessSendCmdCVARGet graph,legend,position}
+legend : {ProcessSendCmdCVARYesNo legend}
+ | POSITION_ {ProcessSendCmdCVARGet legend,position}
;
fontt : fontType FONT_ {ProcessSendCmdCVARGet "$1,family"}
diff --git a/ds9/parsers/plotsendparser.tcl b/ds9/parsers/plotsendparser.tcl
index c91361a..77b85fc 100644
--- a/ds9/parsers/plotsendparser.tcl
+++ b/ds9/parsers/plotsendparser.tcl
@@ -1546,8 +1546,8 @@ proc plotsend::yyparse {} {
43 { ProcessSendCmdCVARGet "graph,axis,$1,min" }
44 { ProcessSendCmdCVARGet "graph,axis,$1,max" }
45 { ProcessSendCmdCVARGet "graph,axis,$1,format" }
- 46 { ProcessSendCmdCVARYesNo graph,legend }
- 47 { ProcessSendCmdCVARGet graph,legend,position }
+ 46 { ProcessSendCmdCVARYesNo legend }
+ 47 { ProcessSendCmdCVARGet legend,position }
48 { ProcessSendCmdCVARGet "$1,family" }
49 { ProcessSendCmdCVARGet "$1,family" }
50 { ProcessSendCmdCVARGet "$1,size" }