Changeset 874 for trunk/src/uvmat.m


Ignore:
Timestamp:
Feb 19, 2015, 2:17:59 AM (9 years ago)
Author:
sommeria
Message:

merge_proj corrected + various bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r871 r874  
    16921692% detect the file type, get the movie object if relevant, and look for the corresponding file series:
    16931693[RootPath,SubDir,RootFile,i1_series,i2_series,j1_series,j2_series,tild,FileInfo,MovieObject]=find_file_series(fullfile(RootPath,SubDir),[RootFile FileIndices FileExt]);
     1694errormsg='';
    16941695if isempty(i1_series)
    16951696    fileinput=uigetfile_uvmat('pick an input file',fullfile(RootPath,SubDir));
     
    20912092        set(handles.pxcmx,'Visible','off')
    20922093        set(handles.pxcmy,'Visible','off')
     2094        if index==1
    20932095        set(handles.TransformName,'Value',1); %  no transform by default
     2096        end
    20942097    else
    20952098        set(handles.pxcmx,'Visible','on')
     
    21052108            set(handles.pxcmy,'String',num2str(pixcmy))
    21062109        end
    2107         if ~get(handles.CheckFixLimits,'Value')
     2110        if ~get(handles.CheckFixLimits,'Value')&& index==1
    21082111            set(handles.TransformName,'Value',3); % phys transform by default if fixedLimits is off
    21092112        end
     
    37713774            else
    37723775                [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
    37743777                    if ~isempty(regexp(PlotType,'attempt to plot two vector fields'))
    37753778                        set(handles.CheckEditObject,'Value',1)
    3776                         CheckEditObject_Callback([], [], handles)
     3779                        CheckEditObject_Callback([], [], handles)% propose to edit the main projection plane
    37773780                        hset_object=findobj(allchild(0),'Tag','set_object');%find the GUI set_object
    37783781                        hhset_object=guidata(hset_object);%
     
    37853788                    errormsg=fill_GUI(PlotParamOut,handles.uvmat);
    37863789                else
    3787                     errormsg=fill_GUI(PlotParamOut,view_field_handle);
     3790                    errormsg=fill_GUI(PlotParamOut,view_field_handle);%TODO: check effect on text display
    37883791                end
    37893792                for list={'Scalar','Vectors'}
Note: See TracChangeset for help on using the changeset viewer.