- Timestamp:
- Jan 22, 2017, 11:19:10 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fill_GUI.m
r977 r987 107 107 end 108 108 set(hh(ibox),'String',input_string) 109 case {'listbox','popupmenu'}109 case {'listbox','popupmenu'} 110 110 if isnumeric(input_data) 111 111 input_data=num2str(input_data,4); -
trunk/src/read_GUI.m
r977 r987 70 70 end 71 71 end 72 case {'listbox','popupmenu'}72 case {'listbox','popupmenu'} 73 73 listinput=get(hchild(ichild),'String'); 74 74 value=get(hchild(ichild),'Value'); -
trunk/src/read_civdata.m
r977 r987 89 89 if ~isempty(FieldNames{ilist}) 90 90 switch FieldNames{ilist} 91 case {'U','V','norm(U,V)'}91 case {'U','V','norm(U,V)'} 92 92 if ~strcmp(FieldNames{1},'vec(U,V)')% if the scalar is not used as color of vectors 93 93 ProjModeRequest='interp_lin'; … … 122 122 end 123 123 switch VelTypeOut 124 case {'civ1','filter1'}124 case {'civ1','filter1'} 125 125 if isfield(Field,'Patch1_SubDomain') 126 126 Field.SubDomain=Field.Patch1_SubDomain; … … 133 133 Field.Time=Field.Civ1_Time; 134 134 end 135 case {'civ2','filter2'}135 case {'civ2','filter2'} 136 136 if isfield(Field,'Patch2_SubDomain') 137 137 Field.SubDomain=Field.Patch2_SubDomain; -
trunk/src/read_pivdata_fluidimage.m
r977 r987 89 89 if ~isempty(FieldNames{ilist}) 90 90 switch FieldNames{ilist} 91 case {'U','V','norm(U,V)'}91 case {'U','V','norm(U,V)'} 92 92 if ~strcmp(FieldNames{1},'vec(U,V)')% if the scalar is not used as color of vectors 93 93 ProjModeRequest='interp_lin'; … … 168 168 % end 169 169 switch VelTypeOut 170 case {'civ1','filter1'}170 case {'civ1','filter1'} 171 171 if isfield(Field,'Patch1_SubDomain') 172 172 Field.SubDomain=Field.Patch1_SubDomain; … … 179 179 Field.Time=Field.Civ1_Time; 180 180 end 181 case {'civ2','filter2'}181 case {'civ2','filter2'} 182 182 if isfield(Field,'Patch2_SubDomain') 183 183 Field.SubDomain=Field.Patch2_SubDomain; -
trunk/src/set_object.m
r977 r987 234 234 %% set the number of lines in the Coord table depending on object type 235 235 switch Type 236 case {'line'}236 case {'line'} 237 237 if size(Coord,1)<2 238 238 if isequal(size(Coord,2),3) … … 244 244 Coord=Coord(1:2,:); 245 245 end 246 case {'rectangle','ellipse','plane','volume'}246 case {'rectangle','ellipse','plane','volume'} 247 247 Coord=Coord(1,:); 248 248 end
Note: See TracChangeset
for help on using the changeset viewer.