Changeset 511 for trunk/src/plot_field.m


Ignore:
Timestamp:
Aug 2, 2012, 3:12:48 PM (12 years ago)
Author:
sommeria
Message:

cleaning of uvmat and related fcts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r501 r511  
    255255if ~isempty(index_2D)|| ~isempty(index_1D)
    256256    FigData=get(hfig,'UserData');
    257 %     if strcmp(get(hfig,'tag'),'view_field')
    258 %         set(hfig,'UserData',[]); % refresh user data in view_field (set by civ/TestCiv )
    259 %     end
    260     tagaxes=get(haxes,'tag');% tag of the current plot axis
    261     if isfield(FigData,tagaxes)
    262         FigData.(tagaxes)=Data;
     257    if strcmp(get(hfig,'tag'),'view_field')||strcmp(get(hfig,'tag'),'uvmat')
     258        FigData.(get(haxes,'tag'))=Data;
    263259        set(hfig,'UserData',FigData)
    264260    end
Note: See TracChangeset for help on using the changeset viewer.