Changeset 434 for trunk/src/plot_field.m


Ignore:
Timestamp:
May 29, 2012, 11:02:08 PM (9 years ago)
Author:
sommeria
Message:

corrections in the use of get_field
test_tps introduced, to test thin plate shell functions
tps-eval_dxy corrected (bug on the calculation of the derivatives fixed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r429 r434  
    227227if ~isempty(htext)
    228228    if isempty(index_0D)
    229         set(htext,'String',{''})
     229        if strcmp(get(htext,'Type'),'uitable')
     230            set(htext,'Data',{})
     231        else
     232            set(htext,'String',{''})
     233        end
    230234    else
    231235        [errormsg]=plot_text(Data,CellVarIndex(index_0D),VarType(index_0D),htext);
Note: See TracChangeset for help on using the changeset viewer.