diff options
Diffstat (limited to 'ds9/parsers/plotparser.tcl')
-rw-r--r-- | ds9/parsers/plotparser.tcl | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/ds9/parsers/plotparser.tcl b/ds9/parsers/plotparser.tcl index def123e..1f028d7 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 PlotClearData } + 66 { ProcessCmdCVAR0 PlotDeleteData } 70 { ProcessCmdCVAR stats $2 PlotStats } 71 { ProcessCmdCVAR stats $2 PlotStats } 72 { ProcessCmdCVAR list $2 PlotList } @@ -5428,18 +5428,18 @@ proc plot::yyparse {} { 74 { PlotCmdSaveConfig $2 } 78 { ProcessCmdCVAR0 PlotDestroy } 79 { ProcessCmdCVAR mode $2 PlotChangeMode } - 81 { PlotCmdUpdateGraph graph,bg $2 } - 85 { PlotCmdUpdateGraph bar,mode $2 } - 86 { PlotCmdUpdateElement show $2 } - 88 { PlotCmdUpdateElement fill $2 } - 89 { PlotCmdUpdateElement fill,color $2 } - 92 { PlotCmdUpdateElement name $2 } - 94 { PlotCmdUpdateElement bar,relief $2 } - 95 { PlotCmdUpdateElement smooth $2 } - 96 { PlotCmdUpdateElement width $2 } - 97 { PlotCmdUpdateElement dash $2 } - 98 { ProcessCmdCVAR data,current $2 PlotCurrentData } - 99 { ProcessCmdCVAR data,current $2 PlotCurrentData } + 81 { PlotCmdUpdateGraph bg $2 } + 85 { PlotCmdUpdateCanvas bar,mode $2 } + 86 { PlotCmdUpdateElement graph,ds,show $2 } + 88 { PlotCmdUpdateElement graph,ds,fill $2 } + 89 { PlotCmdUpdateElement graph,ds,fill,color $2 } + 92 { PlotCmdUpdateElement graph,ds,name $2 } + 94 { PlotCmdUpdateElement graph,ds,bar,relief $2 } + 95 { PlotCmdUpdateElement graph,ds,smooth $2 } + 96 { PlotCmdUpdateElement graph,ds,width $2 } + 97 { PlotCmdUpdateElement graph,ds,dash $2 } + 98 { PlotCmdSelectData $2 } + 99 { PlotCmdSelectData $2 } 102 { PlotCmdExport [ExtToFormat $1] $1 } 103 { PlotCmdExport [ExtToFormat $1] $1 } 104 { PlotCmdExport $1 $2 } @@ -5480,15 +5480,15 @@ proc plot::yyparse {} { 139 { set _ gray } 140 { set _ pointer } 141 { set _ zoom } - 142 { PlotCmdUpdateGraph "axis,$1,grid" $3 } - 143 { PlotCmdUpdateGraph "axis,$1,log" $3 } - 144 { PlotCmdUpdateGraph "axis,$1,flip" $3 } - 145 { PlotCmdUpdateGraph "axis,$1,auto" $3 } - 146 { PlotCmdUpdateGraph "axis,$1,min" $3 } - 147 { PlotCmdUpdateGraph "axis,$1,max" $3 } - 148 { PlotCmdUpdateGraph "axis,$1,format" $3 } - 149 { PlotCmdUpdateGraph legend $1 } - 150 { PlotCmdUpdateGraph "legend,position" $2 } + 142 { PlotCmdUpdateGraph "graph,axis,$1,grid" $3 } + 143 { PlotCmdUpdateGraph "graph,axis,$1,log" $3 } + 144 { PlotCmdUpdateGraph "graph,axis,$1,flip" $3 } + 145 { PlotCmdUpdateGraph "graph,axis,$1,auto" $3 } + 146 { PlotCmdUpdateGraph "graph,axis,$1,min" $3 } + 147 { PlotCmdUpdateGraph "graph,axis,$1,max" $3 } + 148 { PlotCmdUpdateGraph "graph,axis,$1,format" $3 } + 149 { PlotCmdUpdateGraph graph,legend $1 } + 150 { PlotCmdUpdateGraph graph,legend,position $2 } 151 { set _ right } 152 { set _ left } 153 { set _ top } @@ -5511,22 +5511,22 @@ proc plot::yyparse {} { 170 { set _ legend,font } 171 { set _ legend,title } 172 { PlotCmdUpdateGraph graph,title $1 } - 173 { PlotCmdUpdateGraph "axis,$1,title" $2 } - 174 { PlotCmdUpdateGraph "axis,$1,title" $2 } - 175 { PlotCmdUpdateGraph legend,title $2 } + 173 { PlotCmdUpdateGraph "graph,axis,$1,title" $2 } + 174 { PlotCmdUpdateGraph "graph,axis,$1,title" $2 } + 175 { PlotCmdUpdateGraph graph,legend,title $2 } 176 { set _ normal } 177 { set _ stacked } 178 { set _ aligned } 179 { set _ overlap } - 180 { PlotCmdUpdateElement color $1 } - 181 { PlotCmdUpdateElement color $2 } - 189 { PlotCmdUpdateElement error $1 } - 190 { PlotCmdUpdateElement error,cap $2 } - 191 { PlotCmdUpdateElement error,color $2 } - 192 { PlotCmdUpdateElement error,width $2 } - 193 { PlotCmdUpdateElement shape,symbol $1 } - 194 { PlotCmdUpdateElement shape,file $2 } - 195 { PlotCmdUpdateElement shape,color $2 } + 180 { PlotCmdUpdateElement graph,ds,color $1 } + 181 { PlotCmdUpdateElement graph,ds,color $2 } + 189 { PlotCmdUpdateElement graph,ds,error $1 } + 190 { PlotCmdUpdateElement graph,ds,error,cap $2 } + 191 { PlotCmdUpdateElement graph,ds,error,color $2 } + 192 { PlotCmdUpdateElement graph,ds,error,width $2 } + 193 { PlotCmdUpdateElement graph,ds,shape,symbol $1 } + 194 { PlotCmdUpdateElement graph,ds,shape,file $2 } + 195 { PlotCmdUpdateElement graph,ds,shape,color $2 } 196 { set _ none } 197 { set _ circle } 198 { set _ square } @@ -5547,31 +5547,31 @@ proc plot::yyparse {} { 213 { set _ cubic } 214 { set _ quadratic } 215 { set _ catrom } - 217 { PlotCmdUpdateGraph "axis,$2,log" $3 } - 218 { PlotCmdUpdateGraph "axis,$2,flip" $3 } - 219 { PlotCmdUpdateGraph "axis,$3,format" $3 } - 224 { PlotCmdUpdateGraph "axis,$1,grid" $2 } - 225 { PlotCmdUpdateGraph "axis,x,grid" $1; PlotCmdUpdateGraph "axis,y,grid" $1 } - 226 { PlotCmdUpdateGraph "axis,$1,auto" $3 } - 227 { PlotCmdUpdateGraph "axis,$1,min" $3 } - 228 { PlotCmdUpdateGraph "axis,$1,max" $3 } + 217 { PlotCmdUpdateGraph "graph,axis,$2,log" $3 } + 218 { PlotCmdUpdateGraph "graph,axis,$2,flip" $3 } + 219 { PlotCmdUpdateGraph "graph,axis,$3,format" $3 } + 224 { PlotCmdUpdateGraph "graph,axis,$1,grid" $2 } + 225 { PlotCmdUpdateGraph "graph,axis,x,grid" $1; PlotCmdUpdateGraph "graph,axis,y,grid" $1 } + 226 { PlotCmdUpdateGraph "graph,axis,$1,auto" $3 } + 227 { PlotCmdUpdateGraph "graph,axis,$1,min" $3 } + 228 { PlotCmdUpdateGraph "graph,axis,$1,max" $3 } 229 { PlotCmdUpdateGraph graph,title $2 } - 230 { PlotCmdUpdateGraph "axis,$1,title" $2 } - 231 { PlotCmdUpdateGraph legend,title $2 } - 234 { PlotCmdUpdateGraph "axis,x,log" 0; PlotCmdUpdateGraph "axis,y,log" 0 } - 235 { PlotCmdUpdateGraph "axis,x,log" 0; PlotCmdUpdateGraph "axis,y,log" 1 } - 236 { PlotCmdUpdateGraph "axis,x,log" 1; PlotCmdUpdateGraph "axis,y,log" 0 } - 237 { PlotCmdUpdateGraph "axis,x,log" 1; PlotCmdUpdateGraph "axis,y,log" 1 } - 238 { PlotCmdUpdateElement shape,symbol $2 } - 239 { PlotCmdUpdateElement width $3 } - 240 { PlotCmdUpdateElement dash $3 } - 241 { PlotCmdUpdateElement error $3 } - 248 { PlotCmdUpdateElement show $2 } - 249 { PlotCmdUpdateElement show $2; PlotCmdUpdateElement smooth linear } - 250 { PlotCmdUpdateElement show $2; PlotCmdUpdateElement smooth step } - 251 { PlotCmdUpdateElement show $2; PlotCmdUpdateElement smooth quadratic } - 252 { PlotCmdUpdateElement error $2 } - 253 { PlotCmdUpdateElement error $2 } + 230 { PlotCmdUpdateGraph "graph,axis,$1,title" $2 } + 231 { PlotCmdUpdateGraph graph,legend,title $2 } + 234 { PlotCmdUpdateGraph "graph,axis,x,log" 0; PlotCmdUpdateGraph "graph,axis,y,log" 0 } + 235 { PlotCmdUpdateGraph "graph,axis,x,log" 0; PlotCmdUpdateGraph "graph,axis,y,log" 1 } + 236 { PlotCmdUpdateGraph "graph,axis,x,log" 1; PlotCmdUpdateGraph "graph,axis,y,log" 0 } + 237 { PlotCmdUpdateGraph "graph,axis,x,log" 1; PlotCmdUpdateGraph "graph,axis,y,log" 1 } + 238 { PlotCmdUpdateElement graph,ds,shape,symbol $2 } + 239 { PlotCmdUpdateElement graph,ds,width $3 } + 240 { PlotCmdUpdateElement graph,ds,dash $3 } + 241 { PlotCmdUpdateElement graph,ds,error $3 } + 248 { PlotCmdUpdateElement graph,ds,show $2 } + 249 { PlotCmdUpdateElement graph,ds,show $2; PlotCmdUpdateElement graph,ds,smooth linear } + 250 { PlotCmdUpdateElement graph,ds,show $2; PlotCmdUpdateElement graph,ds,smooth step } + 251 { PlotCmdUpdateElement graph,ds,show $2; PlotCmdUpdateElement graph,ds,smooth quadratic } + 252 { PlotCmdUpdateElement graph,ds,error $2 } + 253 { PlotCmdUpdateElement graph,ds,error $2 } } unsetupvalues $dc # pop off tokens from the stack if normal rule |