Changeset 187 for trunk/src/set_object.m
- Timestamp:
- Feb 1, 2011, 1:07:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r186 r187 776 776 UvData.Object{IndexObj}=ObjectData;%update the current object properties 777 777 UvData.Object=update_obj(UvData,IndexObj_1,IndexObj_2); 778 779 %% plot the field projected on the object and store it the corresponding figue 780 get(plotaxes,'tag') 778 set(huvmat,'UserData',UvData) 779 780 %% plot the field projected on the object and store in the corresponding figue 781 781 ProjData= proj_field(UvData.Field,ObjectData);%project the current interface field on ObjectData 782 782 [PlotType,Object_out{IndexObj}.PlotParam,plotaxes]=plot_field(ProjData,plotaxes,PlotHandles);%update an existing field plot 783 if strcmp(projview,'view_field')784 ViewFieldData=get(hview_field,'UserData');785 ViewFieldData.axes3=ObjectData;786 set(hview_field,'UserData',ViewFieldData)787 else788 UvData.axes3=ObjectData;789 end790 783 791 784 %% update the GUI uvmat … … 795 788 set(hhuvmat.edit_object,'BackgroundColor',[1 1 0]);% paint the edit text in yellow 796 789 %UvData.MouseAction='edit_object'; % set the edit button to 'on' 797 set(huvmat,'UserData',UvData) 790 798 791 %------------------------------------------------------------------------ 799 792 % --- Executes on button press in MenuCoord.
Note: See TracChangeset
for help on using the changeset viewer.