Ignore:
Timestamp:
May 19, 2009 5:18:50 PM (13 years ago)
Author:
srkline
Message:

Simple change in all of the model function files to include the name of the parameter wave in the Keyword=list that is generated when a model is plotted. This is becoming an issue where the proper parameter wave can't be deduced from just the suffix, then there is nothing to put in the table.

I should have added this when I initially wrote the wrapper...

File:
1 edited

Legend:

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

    r480 r510  
    2323// create a KW=string; of model=coef correspondence as the models are plotted, rather than 
    2424// some other hard-wired solution 
    25 Function AddModelToStrings(funcStr,coefStr,suffix) 
    26         String funcStr,coefStr,suffix 
    27          
    28         if(exists("root:Packages:NIST:coefKWStr")==0) 
     25Function AddModelToStrings(funcStr,coefStr,paramStr,suffix) 
     26        String funcStr,coefStr,paramStr,suffix 
     27         
     28        if(exists("root:Packages:NIST:paramKWStr")==0) 
    2929                String/G root:Packages:NIST:coefKWStr="" 
     30                String/G root:Packages:NIST:paramKWStr="" 
    3031                String/G root:Packages:NIST:suffixKWStr="" 
    3132        endif 
    3233        SVAR coefKWStr = root:Packages:NIST:coefKWStr 
     34        SVAR paramKWStr = root:Packages:NIST:paramKWStr 
    3335        SVAR suffixKWStr = root:Packages:NIST:suffixKWStr 
    3436        coefKWStr += funcStr+"="+coefStr+";" 
    35         suffixKWStr += coefStr+"="+suffix+";" 
     37        paramKWStr += funcStr+"="+paramStr+";" 
     38        suffixKWStr += funcStr+"="+suffix+";" 
    3639end 
    3740 
     
    822825                str = RemoveFromList("AutoFit", str, ";") 
    823826                str = RemoveFromList("TISANE", str, ";") 
     827                str = RemoveFromList("HayPenMSA", str, ";") 
    824828        endif 
    825829         
Note: See TracChangeset for help on using the changeset viewer.