Changeset 586 for trunk/src/set_object.m
- Timestamp:
- Mar 13, 2013, 9:12:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r581 r586 486 486 else 487 487 % create tps coeff if needed for ProjMode 'interp_tps' 488 if strcmp(ObjectData.ProjMode,'interp_tps')&&~isfield(UvData.Field,'Coord_tps') 489 UvData.Field=calc_tps(UvData.Field,1); 488 if strcmp(ObjectData.ProjMode,'interp_tps')&&~isfield(UvData.Field,'Coord_tps') 489 %UvData.Field=calc_tps(UvData.Field,1); 490 [UvData.Field,errormsg]=tps_coeff_field(UvData.Field,1); 491 if ~isempty(errormsg) 492 msgbox_uvmat('ERROR', ['set_object/tps_coeff_field/' errormsg]) 493 set(handles.PLOT,'enable','on') 494 return 495 end 490 496 end 491 497 [ProjData,errormsg]= proj_field(UvData.Field,ObjectData);%project the current field of uvmat on ObjectData 492 498 if ~isempty(errormsg) 493 msgbox_uvmat('ERROR', errormsg)499 msgbox_uvmat('ERROR', ['set_object/proj_field/' errormsg]) 494 500 set(handles.PLOT,'enable','on') 495 501 return 496 end 502 end 497 503 if isequal(IndexObj_1,IndexObj) % if the projection is in uvmat 498 504 PlotType=plot_field(ProjData,hhuvmat.PlotAxes,read_GUI(get(hhuvmat.PlotAxes,'parent')));%update the current uvmat plot 499 505 else % if the projection is in view_field 500 506 hview_field=findobj(allchild(0),'tag','view_field'); … … 509 515 return 510 516 end 511 % write_plot_param(hhview_field,PlotParam); %update the display of plotting parameters for the current object517 % write_plot_param(hhview_field,PlotParam); %update the display of plotting parameters for the current object 512 518 end 513 519 haxes=findobj(hview_field,'tag','axes3'); … … 523 529 set(hview_field,'Position',Data.GUISize) 524 530 end 525 % set(hhuvmat.ViewField,'Value',1)% indicate that the field projection on the current object is plotted in view_field531 % set(hhuvmat.ViewField,'Value',1)% indicate that the field projection on the current object is plotted in view_field 526 532 end 527 533 end
Note: See TracChangeset
for help on using the changeset viewer.