Ignore:
Timestamp:
Apr 9, 2007 3:42:39 PM (15 years ago)
Author:
srkline
Message:

2nd pass of pulling out NCNR calls. Also cleared a lot of deadwood from the code, removing depricated functions that were mostly already commented out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/branches/kline_29MAR07/Put in User Procedures/SANS_Reduction_v5.00/AvgGraphics.ipf

    r40 r76  
    845845        Wave yErrWave=$(curPath+"yErrWave") 
    846846         
    847         DoWindow/F Plot_1d 
    848 //      If(V_flag == 1)         //the graph window already exists 
    849 //              //kill the old graph and make a new one 
    850 //              //easier than adjusting the old one 
    851 //              DoWindow/K Plot_1d 
    852 //      Endif 
    853 //      Init_Plot1d() 
    854847        Variable/G root:myGlobals:Plot_1d:isPhiAve=0    //0 signifies (normal) x=qvals 
    855848        //make a completely new graph 
    856849        Draw_Plot1D(xAxisWave,yAxisWave,YErrWave) 
    857          
    858 // OLD graph creation routines   
    859 //      Display /W=(412,51,727,302)/K=1 yAxisWave vs xAxisWave 
    860 //      ModifyGraph log=1 
    861 //      ModifyGraph mode=3,marker=19,msize=1,rgb=(0,0,0) 
    862 //      ErrorBars yAxisWave Y,wave=(yErrWave,yErrWave) 
    863 //      Label left "Counts" 
    864 //      Label bottom "q\\U" 
    865 //      SVAR angst = root:myGlobals:gAngstStr 
    866 //      Label bottom "q ("+angst+"\\S-1\\M)" 
    867 //      DoWindow/C Plot_1d 
    868850         
    869851        return(0) 
     
    894876        Wave yErrWave=$(curPath+"yErrWave") 
    895877         
    896         DoWindow/F Plot_1d 
    897 //      If(V_flag == 1)         //the graph window already exists 
    898                 //kill the old graph and make a new one 
    899                 //easier than adjusting the old one 
    900 //              DoWindow/K Plot_1d 
    901 //      Endif    
    902 //      Init_Plot1d() 
    903878        Variable/G root:myGlobals:Plot_1d:isPhiAve=1    //1 signifies x=phival 
    904879        //make a completely new graph 
    905880        Draw_Plot1D(xAxisWave,yAxisWave,YErrWave) 
    906  
    907 // OLD graph creation routines 
    908 //      Display /W=(412,51,727,302)/K=1 yAxisWave vs xAxisWave 
    909 //      ModifyGraph log=0 
    910 //      ModifyGraph mode=3,marker=19,msize=1,rgb=(0,0,0) 
    911 //      ErrorBars yAxisWave Y,wave=(yErrWave,yErrWave) 
    912 //      Label left "Counts" 
    913 //      Label bottom "Angle (degrees)" 
    914 //      DoWindow/C Plot_1d 
    915881         
    916882        return(0) 
     
    11861152                        break 
    11871153                endif 
    1188                 //more ifs for each case 
     1154                //more ifs for each case as they are added 
    11891155                 
    11901156                // if selection not found, abort 
     
    12581224        ModifyGraph log(bottom)=(logBottom) 
    12591225         
    1260 //      SetDataFolder dfSav             //didn't change the data folder 
    1261 End 
    1262  
     1226End 
     1227 
Note: See TracChangeset for help on using the changeset viewer.