Ignore:
Timestamp:
06/10/08 03:01:01 (16 years ago)
Author:
ericg
Message:

Added corr_thres in plt_def to define correlation lower limit for plotting regression maps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/macros/make_linfit.pro

    r109 r112  
    126126  ; only take points where correlation larger than 0.2 
    127127 
    128    idc = where(abs(pt_corr) LT 0.12) 
     128   idc = where(abs(pt_corr) LT corr_thres) 
    129129   pt_linfit(idc) = !values.f_nan 
     130 
     131   corr_txt = '[r>'+strtrim(string(corr_thres, format = '(f5.2)'), 2)+']' 
    130132 
    131133   varname =  varname+' '+ntxt 
     
    150152   ENDCASE  
    151153 
    152    field.legend = lintxt+' for '+ntxt+' in ['+cmdm.date1+'-'+cmdm.spec+'] -' 
     154   field.legend = lintxt+' for '+ntxt+' in ['+cmdm.date1+'-'+cmdm.spec+'] '+corr_txt+' -' 
    153155 
    154156; additional computations (pac_5 nino_3 nino_4 averages) *** requires whole domain **** 
Note: See TracChangeset for help on using the changeset viewer.