Changeset 82 for trunk/src/update_obj.m
- Timestamp:
- Apr 15, 2010, 5:12:42 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/update_obj.m
r71 r82 62 62 end 63 63 end 64 64 65 % plot the field projected on the object 65 % if ~isempty(PlotHandles) %&& ~testmask 66 ProjData= proj_field(UvData.Field,ObjectData,IndexObj);%project the current interface field on ObjectData 67 if ~isempty(ProjData) 68 plotaxes=[];%default 66 ProjData= proj_field(UvData.Field,ObjectData,IndexObj);%project the current interface field on ObjectData 67 if ~isempty(ProjData) 68 plotaxes=[];%default 69 69 % get(Object_set{IndexObj}.plotaxes) 70 71 72 73 74 75 70 if length(Object_set)>= IndexObj && isfield(Object_set{IndexObj},'plotaxes') 71 plotaxes=Object_set{IndexObj}.plotaxes; 72 [PlotType,Object_out.PlotParam,plotaxes]=plot_field(ProjData,plotaxes,PlotHandles); 73 else 74 [plotaxes]=view_field(ProjData); 75 end 76 76 % [PlotType,Object_out.PlotParam,plotaxes]=plot_field(ProjData,plotaxes,PlotHandles); 77 Object_out.plotaxes=plotaxes; 78 plotfig=get(plotaxes,'parent'); 79 name_str=get(plotfig,'Name'); 80 if ~isequal(name_str,'uvmat') 81 set(plotfig,'Name',['Projection on' num2str(IndexObj) '-' ObjectData.Style]); 82 end 77 Object_out.plotaxes=plotaxes; 78 plotfig=get(plotaxes,'parent'); 79 name_str=get(plotfig,'Name'); 80 if ~isequal(name_str,'uvmat') 81 set(plotfig,'Name',['Projection on' num2str(IndexObj) '-' ObjectData.Style]); 83 82 end 84 %end83 end 85 84 86 85 86
Note: See TracChangeset
for help on using the changeset viewer.