- Timestamp:
- Nov 24, 2010 4:23:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/AvgGraphics.ipf
r757 r764 159 159 QxQy_Export(type,"",1) 160 160 break 161 case "Sector_PlusMinus": 162 Sector_PlusMinus1D(type) 163 If(doSave) 164 if (useXMLOutput == 1) 165 WriteXMLWaves_W_Protocol(type,"",1) 166 else 167 WriteWaves_W_Protocol(type,"",1) //"" is an empty path, 1 will force a dialog 168 endif 169 Endif 170 break 161 171 default: 162 172 Abort "no case match in average dispatch" … … 174 184 String/G root:myGlobals:Protocols:gProtoStr = "" 175 185 Endif 176 177 186 178 187 return(0) … … 226 235 case "Circular": 227 236 case "Sector": 237 case "Sector_PlusMinus": 228 238 case "Rectangular": 229 239 case "Annular": … … 258 268 break 259 269 case "Sector": 270 case "Sector_PlusMinus": 260 271 SetVariable Phi_p,disable=no 261 272 SetVariable Qctr_p,disable=yes … … 301 312 PopupMenu av_choice,pos={61,7},size={144,20},proc=AvTypePopMenuProc,title="AverageType" 302 313 PopupMenu av_choice,help={"Select the type of average to perform, then make the required selections below and click \"DoAverage\" to plot the results"} 303 PopupMenu av_choice,mode=1,popvalue="Circular",value= #"\"Circular;Sector;Annular;Rectangular;2D ASCII;QxQy ASCII \""314 PopupMenu av_choice,mode=1,popvalue="Circular",value= #"\"Circular;Sector;Annular;Rectangular;2D ASCII;QxQy ASCII;Sector_PlusMinus;\"" 304 315 Button ave_help,pos={260,7},size={25,20},proc=ShowAvePanelHelp,title="?" 305 316 Button ave_help,help={"Show the help file for averaging options"} … … 446 457 //else sector or rectangular - draw the lines 447 458 448 //if sector or rectangular, draw the phi line (on the desired side)449 if( (cmpstr(av_type,"Sector")==0) || (cmpstr(av_type,"Rectangular")==0) )459 //if sector, sector_plusminus, or rectangular, draw the phi line (on the desired side) 460 if( (cmpstr(av_type,"Sector")==0) || (cmpstr(av_type,"Rectangular")==0) || (cmpstr(av_type,"Sector_PlusMinus")==0)) 450 461 if( (cmpstr(side,"left")==0) || (cmpstr(side,"both")==0) ) 451 462 //draw the phi line on the left side … … 467 478 468 479 //if Sector, draw the +/- dphi lines 469 if (cmpstr(av_type,"Sector")==0 )480 if (cmpstr(av_type,"Sector")==0 || cmpstr(av_type,"Sector_PlusMinus")==0) 470 481 if( (cmpstr(side,"left")==0) || (cmpstr(side,"both")==0) ) 471 482 //draw the deltaPhi lines +/- lines
Note: See TracChangeset
for help on using the changeset viewer.