Changeset 215 for trunk/src/uvmat.m
- Timestamp:
- Mar 8, 2011, 11:36:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r210 r215 234 234 %UvData.Object{1}.Style='plane';%main plotting plane 235 235 UvData.Object{1}.ProjMode='projection';%main plotting plane 236 if ~isfield(UvData.Object{1},'plotaxes')237 UvData.Object{1}.plotaxes=handles.axes3;%default plotting axis238 set(handles.list_object_1,'Value',1);239 % set(handles.list_object_1,'String',{'1-PLANE'});240 set(handles.list_object_1,'String',{''});241 end236 % if ~isfield(UvData.Object{1},'plotaxes') 237 % UvData.Object{1}.plotaxes=handles.axes3;%default plotting axis 238 % set(handles.list_object_1,'Value',1); 239 % % set(handles.list_object_1,'String',{'1-PLANE'}); 240 % set(handles.list_object_1,'String',{''}); 241 % end 242 242 set(handles.Fields,'Value',1) 243 243 set(handles.Fields,'string',{''}) … … 2529 2529 set(handles.list_object_1,'String',{''}); 2530 2530 end 2531 if ~isfield(UvData.Object{1},'plotaxes')2532 UvData.Object{1}.plotaxes=handles.axes3;%default plotting axis2533 end2531 % if ~isfield(UvData.Object{1},'plotaxes') 2532 % UvData.Object{1}.plotaxes=handles.axes3;%default plotting axis 2533 % end 2534 2534 testnewseries=UvData.NewSeries; 2535 2535 UvData.NewSeries=0;% put to 0 the test for a new field series (set by RootPath_callback) … … 2551 2551 end 2552 2552 plot_handles{1}=handles; 2553 haxes(1)=handles.axes3; 2553 if isfield(UvData,'plotaxes')%case of movies 2554 haxes(1)=UvData.plotaxes; 2555 else 2556 haxes(1)=handles.axes3; 2557 end 2554 2558 PlotParam{1}=read_plot_param(handles);%read plotting parameters on the uvmat interfac 2555 2559 keeplim(1)=get(handles.FixLimits,'Value');% test for fixed graph limits … … 4475 4479 msgbox_uvmat('INPUT_Y-N',{['adjust figure ' num2str(newfig) ' with its matlab edit menu '] ;... 4476 4480 ['then press OK to get the avi movie as a copy of figure ' num2str(newfig) ' display']}); 4477 UvData. Object{1}.plotaxes=newaxes;% the axis in the new figure becomes the current main plotting axes4481 UvData.plotaxes=newaxes;% the axis in the new figure becomes the current main plotting axes 4478 4482 set(huvmat,'UserData',UvData); 4479 4483 increment=str2double(get(handles.increment_scan,'String')); %get the field increment d … … 4509 4513 end 4510 4514 end 4511 close(aviobj); 4512 UvData.Object{1}.plotaxes=handles.axes3; 4515 aviobj=close(aviobj); 4516 UvData=rmfield(UvData,'plotaxes'); 4517 %UvData.Object{1}.plotaxes=handles.axes3; 4513 4518 set(huvmat,'UserData',UvData); 4514 4519 msgbox_uvmat('CONFIRMATION',{['movie ' aviname ' created '];['with ' num2str(imax) ' frames']})
Note: See TracChangeset
for help on using the changeset viewer.