Changeset 874 for trunk/src/uvmat.m
- Timestamp:
- Feb 19, 2015, 2:17:59 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r871 r874 1692 1692 % detect the file type, get the movie object if relevant, and look for the corresponding file series: 1693 1693 [RootPath,SubDir,RootFile,i1_series,i2_series,j1_series,j2_series,tild,FileInfo,MovieObject]=find_file_series(fullfile(RootPath,SubDir),[RootFile FileIndices FileExt]); 1694 errormsg=''; 1694 1695 if isempty(i1_series) 1695 1696 fileinput=uigetfile_uvmat('pick an input file',fullfile(RootPath,SubDir)); … … 2091 2092 set(handles.pxcmx,'Visible','off') 2092 2093 set(handles.pxcmy,'Visible','off') 2094 if index==1 2093 2095 set(handles.TransformName,'Value',1); % no transform by default 2096 end 2094 2097 else 2095 2098 set(handles.pxcmx,'Visible','on') … … 2105 2108 set(handles.pxcmy,'String',num2str(pixcmy)) 2106 2109 end 2107 if ~get(handles.CheckFixLimits,'Value') 2110 if ~get(handles.CheckFixLimits,'Value')&& index==1 2108 2111 set(handles.TransformName,'Value',3); % phys transform by default if fixedLimits is off 2109 2112 end … … 3771 3774 else 3772 3775 [PlotType,PlotParamOut]=plot_field(ObjectData,haxes(imap),PlotParam{imap}); 3773 if ~isempty(regexp(PlotType,'^error')) 3776 if ~isempty(regexp(PlotType,'^error'))%exit in case of plotting error 3774 3777 if ~isempty(regexp(PlotType,'attempt to plot two vector fields')) 3775 3778 set(handles.CheckEditObject,'Value',1) 3776 CheckEditObject_Callback([], [], handles) 3779 CheckEditObject_Callback([], [], handles)% propose to edit the main projection plane 3777 3780 hset_object=findobj(allchild(0),'Tag','set_object');%find the GUI set_object 3778 3781 hhset_object=guidata(hset_object);% … … 3785 3788 errormsg=fill_GUI(PlotParamOut,handles.uvmat); 3786 3789 else 3787 errormsg=fill_GUI(PlotParamOut,view_field_handle); 3790 errormsg=fill_GUI(PlotParamOut,view_field_handle);%TODO: check effect on text display 3788 3791 end 3789 3792 for list={'Scalar','Vectors'}
Note: See TracChangeset
for help on using the changeset viewer.