Changeset 187 for trunk/src/view_field.m
- Timestamp:
- Feb 1, 2011, 1:07:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/view_field.m
r180 r187 90 90 set(hObject,'WindowButtonUpFcn',{'mouse_up',handles_mouse}) 91 91 set(hObject,'CloseRequestFcn',{@closefcn})% 92 ViewFieldData.axes3=[];%initiates the record of the current field (will be updated by plot_field) 93 set(handles.view_field,'UserData',ViewFieldData);%store the current field 92 94 if ~exist('Field','var') 93 95 return 94 96 end 95 97 'TESviewfield' 96 98 [PlotType,PlotParamOut]= plot_field(Field,handles.axes3);%,PlotParam,KeepLim,PosColorbar) 97 ViewFieldData.axes3=Field; 98 set(handles.view_field,'UserData',ViewFieldData);%store the current field 99 99 100 if isfield(PlotParamOut,'Vectors') 100 101 set(handles.VECT_title,'Visible','on') … … 285 286 set(handles.auto_xy,'BackgroundColor',[0.7 0.7 0.7]) 286 287 update_plot(handles) 287 % axis(handles.axes3,'image')288 288 end 289 289 … … 699 699 %------------------------------------------------------------------- 700 700 haxes= handles.axes3; 701 %huvmat=findobj(allchild(0),'tag','uvmat'); 702 ProjField=get(haxes,'UserData'); 701 702 %ProjField=get(haxes,'UserData'); 703 ViewFieldData=get(handles.view_field,'UserData'); 704 ProjField=ViewFieldData.axes3; 705 %ProjField=get(haxes,'UserData'); 703 706 PlotParam=read_plot_param(handles); 704 707 [PlotType,PlotParamOut]= plot_field(ProjField,haxes,PlotParam,1);
Note: See TracChangeset
for help on using the changeset viewer.