Changeset 525 for trunk/src/uvmat.m
- Timestamp:
- Aug 19, 2012, 1:07:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r523 r525 993 993 switch FileType 994 994 case {'civx','civdata'} 995 [FieldList,ColorList]=calc_field; 996 set(handles_Fields,'String',[{'image'};FieldList;{'get_field...'}]);%standard menu for civx data 997 set(handles_Fields,'Value',2) % set menu to 'velocity 998 % col_vec=FieldList; 999 % col_vec(1)=[];%remove 'velocity' option for vector color (must be a scalar) 1000 set(handles.ColorScalar,'Value',1) 1001 set(handles.ColorScalar,'String',ColorList) 1002 set(handles.Vectors,'Visible','on') 1003 set(handles.Coord_x,'Value',1); 1004 set(handles.Coord_x,'String',{'X'}); 1005 set(handles.Coord_y,'Value',1); 1006 set(handles.Coord_y,'String',{'Y'}); 995 [FieldList,ColorList]=calc_field; 996 set(handles_Fields,'String',[{'image'};FieldList;{'get_field...'}]);%standard menu for civx data 997 set(handles_Fields,'Value',2) % set menu to 'velocity 998 set(handles.ColorScalar,'Value',1) 999 set(handles.ColorScalar,'String',ColorList) 1000 set(handles.Vectors,'Visible','on') 1001 set(handles.Coord_x,'Value',1); 1002 set(handles.Coord_x,'String',{'X'}); 1003 set(handles.Coord_y,'Value',1); 1004 set(handles.Coord_y,'String',{'Y'}); 1007 1005 case 'netcdf' 1008 1006 set(handles_Fields,'Value',1) … … 1010 1008 hget_field=get_field(FileName); 1011 1009 hhget_field=guidata(hget_field); 1012 get_field('RUN_Callback',hhget_field.RUN,[],hhget_field); 1013 % set(handles_Fields,'Value',1) % set menu to 'get_field... 1014 % set(handles_Fields,'String',{'get_field...'}) 1015 % col_vec={'get_field...'}; 1016 % 1017 % set(handles.ColorScalar,'String',col_vec) 1010 get_field('RUN_Callback',hhget_field.RUN,[],hhget_field); 1018 1011 otherwise 1019 1012 set(handles_Fields,'Value',1) % set menu to 'image' 1020 1013 set(handles_Fields,'String',{'image'}) 1021 1022 1023 1024 1014 set(handles.Coord_x,'Value',1); 1015 set(handles.Coord_x,'String',{'AX'}); 1016 set(handles.Coord_y,'Value',1); 1017 set(handles.Coord_y,'String',{'AY'}); 1025 1018 end 1026 1019 set(handles.uvmat,'UserData',UvData)
Note: See TracChangeset
for help on using the changeset viewer.