Changeset 87 for trunk/src/view_field.m
- Timestamp:
- Apr 27, 2010, 7:56:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/view_field.m
r85 r87 91 91 set(hObject,'CloseRequestFcn',{@closefcn})% 92 92 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) 94 set(handles.axes3,'UserData',Field);%store the current field 95 95 if isfield(PlotParamOut,'Vectors') 96 96 set(handles.VECT_title,'Visible','on') 97 97 end 98 handles99 98 write_plot_param(handles,PlotParamOut);% update the display of the plotting parameters 100 99 … … 2340 2339 haxes= handles.axes3; 2341 2340 huvmat=findobj(allchild(0),'tag','uvmat'); 2342 UvData=get(huvmat,'UserData');2341 ProjField=get(haxes,'UserData'); 2343 2342 % 2344 2343 % AxeData=get(haxes,'UserData'); 2345 2344 PlotParam=read_plot_param(handles); 2346 [PlotType,PlotParamOut]= plot_field( UvData.ProjField_2,haxes,PlotParam,1);2345 [PlotType,PlotParamOut]= plot_field(ProjField,haxes,PlotParam,1); 2347 2346 write_plot_param(handles,PlotParamOut); %update the auto plot parameters 2348 2347
Note: See TracChangeset
for help on using the changeset viewer.