- Timestamp:
- Dec 3, 2009 7:18:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Common/DataSetHandling.ipf
r608 r609 244 244 ControlInfo/W=$(win) DS2_popup 245 245 DS2name = S_Value 246 if(cmpstr(DS2name,"No data loaded")==0) 247 break //in case someone loads set 1, but not set two, then plots 248 endif 246 249 Wave qWave = $("root:"+DS2name+":"+DS2name+"_q") 247 250 Wave iWave = $("root:"+DS2name+":"+DS2name+"_i") … … 259 262 Wave iWave = root:NullSolvent:NullSolvent_i 260 263 Wave errWave = root:NullSolvent:NullSolvent_s 264 Wave iWaveDS1 = $("root:"+DS1name+":"+DS1name+"_i") 261 265 iWave = 1 262 266 errWave = 0 … … 264 268 ErrorBars/W=DAPlotPanel#DAPlot /T=0 NullSolvent_i, Y wave=(errWave,errWave) 265 269 ModifyGraph/W=DAPlotPanel#DAPlot rgb(NullSolvent_i)=(0,0,65535) 266 Cursor/W=DAPlotPanel#DAPlot A, NullSolvent_i, leftx(iWave) 267 Cursor/W=DAPlotPanel#DAPlot/A=0 B, NullSolvent_i, rightx(iWave) 270 //Cursor/W=DAPlotPanel#DAPlot A, NullSolvent_i, leftx(iWave) 271 //Cursor/W=DAPlotPanel#DAPlot/A=0 B, NullSolvent_i, rightx(iWave) 272 Cursor/W=DAPlotPanel#DAPlot A, $(DS1Name+"_i"), leftx(iWaveDS1) 273 Cursor/W=DAPlotPanel#DAPlot/A=0 B, $(DS1Name+"_i"), rightx(iWaveDS1) 268 274 endif 269 275 break … … 281 287 282 288 ControlInfo/W=DAPlotPanel DAPlot_log_cb 283 ModifyGraph/W=DAPlotPanel#DAPlot mode=3, msize=2, marker=19, mirror=1, tick=2, log(bottom)=1,log(left)=V_Value 284 289 ModifyGraph/W=DAPlotPanel#DAPlot mode=3, msize=2, marker=19, mirror=1, tick=2, log(bottom)=1,log(left)=V_Value,tickUnit=1 285 290 End 286 291 … … 544 549 DAPlotButtonProc(ba2) 545 550 AddDAPlot(3) 546 SetActiveSubWindow DAPlotPanel547 551 DoWindow/F DataArithmeticPanel 548 endswitch 549 550 551 552 // SetActiveSubWindow DAPlotPanel 553 endswitch 554 552 555 End 553 556
Note: See TracChangeset
for help on using the changeset viewer.