Changeset 87 for trunk/src/view_field.m


Ignore:
Timestamp:
Apr 27, 2010, 7:56:28 PM (14 years ago)
Author:
sommeria
Message:

improvement of vioew_field
suppress spurious 'todo' path in civ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/view_field.m

    r85 r87  
    9191set(hObject,'CloseRequestFcn',{@closefcn})%
    9292
    93 [PlotType,PlotParamOut,haxes]= plot_field(Field,handles.axes3)%,PlotParam,KeepLim,PosColorbar)
    94 'TEST'
     93[PlotType,PlotParamOut,haxes]= plot_field(Field,handles.axes3);%,PlotParam,KeepLim,PosColorbar)
     94set(handles.axes3,'UserData',Field);%store the current field
    9595if isfield(PlotParamOut,'Vectors')
    9696    set(handles.VECT_title,'Visible','on')
    9797end
    98 handles
    9998write_plot_param(handles,PlotParamOut);% update the display of the plotting parameters
    10099
     
    23402339haxes= handles.axes3;
    23412340huvmat=findobj(allchild(0),'tag','uvmat');
    2342 UvData=get(huvmat,'UserData');
     2341ProjField=get(haxes,'UserData');
    23432342%
    23442343% AxeData=get(haxes,'UserData');
    23452344PlotParam=read_plot_param(handles);
    2346 [PlotType,PlotParamOut]= plot_field(UvData.ProjField_2,haxes,PlotParam,1);
     2345[PlotType,PlotParamOut]= plot_field(ProjField,haxes,PlotParam,1);
    23472346write_plot_param(handles,PlotParamOut); %update the auto plot parameters
    23482347
Note: See TracChangeset for help on using the changeset viewer.