Ignore:
Timestamp:
Jun 23, 2009 6:06:24 PM (13 years ago)
Author:
srkline
Message:

A bunch of random changes:
-SASCALC - added the 2.5 cm aperture NG3/7g/polarizer back in, but made the 5 cm the default
-Some fiddling with 2D functionality to enable 2D resolution smearing. Still a work in progress
-Added two new model functions, and added them to the list.
-Changes to the wrapper for the new release to generate kw=val strings as needed for each function
and its coefficients and parameters. This behavior has been changed in the new release, so this
fix should keep old analysis experiments compatible with the new version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtils2D_v40.ipf

    r509 r515  
    163163        ModifyGizmo ModifyObject=axes0,property={1,fontScaleFactor,1.5} 
    164164        ModifyGizmo ModifyObject=axes0,property={2,fontScaleFactor,1.5} 
     165        AppendToGizmo freeAxesCue={0,0,0,1.5},name=freeAxesCue0 
    165166        ModifyGizmo setDisplayList=0, opName=clearColor0, operation=clearColor, data={1,0.917,0.75,1} 
    166167        ModifyGizmo setDisplayList=1, object=surface0 
    167168        ModifyGizmo setDisplayList=2, object=axes0 
     169        ModifyGizmo setDisplayList=3, object=freeAxesCue0 
    168170        ModifyGizmo SETQUATERNION={0.521287,-0.097088,-0.138769,0.836408} 
    169171        ModifyGizmo autoscaling=1 
     
    326328//      ModifyGizmo setDisplayList=0, object=surface0 
    327329//      ModifyGizmo setDisplayList=1, object=axes0 
    328         ModifyGizmo setDisplayList=3, object=surface1 
     330// object 3 is the axisCue 
     331        ModifyGizmo setDisplayList=4, object=surface1 
    329332        ModifyGizmo SETQUATERNION={0.565517,-0.103105,-0.139134,0.806350} 
    330333//      ModifyGizmo autoscaling=1 
     
    393396                        ControlInfo/W=WrapperPanel popup_1 
    394397                        funcStr = S_Value 
    395                         suffix = getModelSuffix(getFunctionCoef(funcStr)) 
     398                        suffix = getModelSuffix(funcStr) 
     399                        if(stringmatch(funcStr, "smear*") == 1) 
     400                                suffix = "sm_"+suffix 
     401                        endif 
    396402                        str = "root:"+DF+":"+suffix+"_mat" 
    397403                         
     
    520526        Variable useCursors,useEps,useConstr 
    521527 
    522         String suffix=getModelSuffix(coefStr) 
     528        String suffix=getModelSuffix(funcStr) 
    523529         
    524530        SetDataFolder $("root:"+folderStr) 
Note: See TracChangeset for help on using the changeset viewer.