Changeset 386 for trunk/src/uvmat.m
- Timestamp:
- Apr 2, 2012, 4:23:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r384 r386 47 47 % .FieldName_1:(char string) second field selected('image', 'velocity'...) 48 48 % .CName: (char string)name of the scalar used for vector colors 49 % .MovieObject : movie object representing an input movie50 % .MovieObject _1: idem for a second input series (_1)49 % .MovieObject{1}: movie object representing an input movie 50 % .MovieObject{2}: idem for a second input series (_1) 51 51 % .filename_1 : last second input file name (to deal with a constant second input without reading again the file) 52 52 % .VelType_1: last velocity type (VelType, civ2...) for the second input series … … 1568 1568 NomType=get(handles.NomType,'String'); 1569 1569 i1=str2num(get(handles.i1,'String'));%read the field indices (for movie, it is not given by the file name) 1570 i2=str2num(get(handles.i2,'String')); 1571 j1=1; 1570 i2=[];%default 1571 if strcmp(get(handles.i2,'Visible'),'on') 1572 i2=str2num(get(handles.i2,'String')); 1573 end 1574 j1=[]; 1572 1575 if strcmp(get(handles.j1,'Visible'),'on') 1573 1576 j1=stra2num(get(handles.j1,'String')); … … 1592 1595 set(handles.CheckFixPair,'Value',0) 1593 1596 end 1594 CheckFixPair=get(handles.CheckFixPair,'Value') ;1597 CheckFixPair=get(handles.CheckFixPair,'Value')||(isempty(i2)&&isempty(j2)); 1595 1598 if CheckFixPair 1596 1599 if get(handles.scan_i,'Value')==1% case of scanning along index i … … 2000 2003 ParamIn.Npy=UvData.XmlData.Npy; 2001 2004 ParamIn.Npx=UvData.XmlData.Npx; 2002 else 2003 2005 else 2004 2006 errormsg='Npx and Npy need to be defined in the xml file for volume images .vol'; 2005 2007 return
Note: See TracChangeset
for help on using the changeset viewer.