Changeset 544


Ignore:
Timestamp:
Sep 16, 2012, 12:16:17 PM (12 years ago)
Author:
sommeria
Message:

bugs corrected

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/geometry_calib.m

    r542 r544  
    11171117
    11181118% transform grid image into 'phys' coordinates
     1119GeometryCalib.CalibrationType='linear';
    11191120GeometryCalib.fx_fy=[1 1];
    11201121GeometryCalib.Tx_Ty_Tz=[Amat(1,3) Amat(2,3) 1];
  • trunk/src/view_field.m

    r511 r544  
    7171set(hObject,'DeleteFcn',{@closefcn})%
    7272set(hObject,'ResizeFcn',{@ResizeFcn,handles})%
    73 ViewFieldData.axes3=[];%initiates the record of the current field (will be updated by plot_field)
     73ViewFieldData.PlotAxes=[];%initiates the record of the current field (will be updated by plot_field)
    7474set(handles.view_field,'Units','pixels')
    7575ViewFieldData.GUISize=get(handles.view_field,'Position');
     
    174174        set(hhuvmat.ListObject,'Value',ObjIndex)
    175175        % draw all object colors in blue (unselected) in uvmat
    176         hother=[findobj(hhuvmat.axes3,'Tag','proj_object');findobj(hhuvmat.axes3,'Tag','DeformPoint')];%find all the proj object and deform point representations
     176        hother=[findobj(hhuvmat.PlotAxes,'Tag','proj_object');findobj(hhuvmat.PlotAxes,'Tag','DeformPoint')];%find all the proj object and deform point representations
    177177        for iobj=1:length(hother)
    178178            if isequal(get(hother(iobj),'Type'),'rectangle')||isequal(get(hother(iobj),'Type'),'patch')
     
    772772%-------------------------------------------------------------------
    773773Data=get(handles.view_field,'UserData');
    774 AxeData=Data.axes3;% retrieve the current plotted data
     774AxeData=Data.PlotAxes;% retrieve the current plotted data
    775775PlotParam=read_GUI(handles.view_field);
    776776[PP,PlotParamOut]= plot_field(AxeData,handles.PlotAxes,PlotParam);
     
    784784% huvmat=findobj(allchild(0),'Name','uvmat');
    785785Data_view_field=get(handles.view_field,'UserData');
    786 Data_view_field=Data_view_field.axes3;
     786Data_view_field=Data_view_field.PlotAxes;
    787787% Data_view_field=UvData.ProjField_2;
    788788evalin('base','global Data_view_field')%make CurData global in the workspace
Note: See TracChangeset for help on using the changeset viewer.