Changeset 511 for trunk/src/set_object.m


Ignore:
Timestamp:
Aug 2, 2012, 3:12:48 PM (9 years ago)
Author:
sommeria
Message:

cleaning of uvmat and related fcts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_object.m

    r508 r511  
    192192        set(hhuvmat.ListObject,'Value',ObjIndex)
    193193        % draw all object colors in blue (unselected) in uvmat
    194         hother=[findobj(hhuvmat.axes3,'Tag','proj_object');findobj(hhuvmat.axes3,'Tag','DeformPoint')];%find all the proj object and deform point representations
     194        hother=[findobj(hhuvmat.PlotAxes,'Tag','proj_object');findobj(hhuvmat.PlotAxes,'Tag','DeformPoint')];%find all the proj object and deform point representations
    195195        for iobj=1:length(hother)
    196196            if isequal(get(hother(iobj),'Type'),'rectangle')||isequal(get(hother(iobj),'Type'),'patch')
     
    475475    UvData.Object{IndexObj}.DisplayHandle.uvmat=obj_handle; %preserve the object plot handle if valid
    476476else
    477     UvData.Object{IndexObj}.DisplayHandle.uvmat=hhuvmat.axes3; %axes taken as object display handle by defualt
     477    UvData.Object{IndexObj}.DisplayHandle.uvmat=hhuvmat.PlotAxes; %axes taken as object display handle by defualt
    478478end
    479479%set(hhuvmat.edit_object,'Value',1)% set the current object to edit mode
     
    496496    end   
    497497    if isequal(IndexObj_1,IndexObj) % if  the projection is in uvmat
    498          PlotType=plot_field(ProjData,hhuvmat.axes3,read_GUI(get(hhuvmat.axes3,'parent')));%update the current uvmat plot
     498         PlotType=plot_field(ProjData,hhuvmat.PlotAxes,read_GUI(get(hhuvmat.PlotAxes,'parent')));%update the current uvmat plot
    499499    else  % if the projection is in view_field
    500500        hview_field=findobj(allchild(0),'tag','view_field');
     
    503503        else
    504504            hhview_field=guidata(hview_field);
    505             [PlotType,PlotParam]=plot_field(ProjData,hhview_field.axes3,read_GUI(hview_field));%update an existing  plot in view_field
     505            [PlotType,PlotParam]=plot_field(ProjData,hhview_field.PlotAxes,read_GUI(hview_field));%update an existing  plot in view_field
    506506            write_plot_param(hhview_field,PlotParam); %update the display of plotting parameters for the current object
    507507        end
Note: See TracChangeset for help on using the changeset viewer.