Changeset 74 for trunk/src/set_object.m


Ignore:
Timestamp:
Mar 31, 2010, 12:39:26 PM (14 years ago)
Author:
sommeria
Message:

rotate_points: used for geometry_calib was forgotten. It is now added
plot_field now does not consider black the vectors with either vec_F=0 or vec_F=1 (vec_F=0 in the 3D3C software instead of vec_F=1)
set_object and uvmat: improvements for projection plane in volume vel data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_object.m

    r72 r74  
    202202        end
    203203        set(handles.ZMax,'String',num2str(max(data.RangeZ),3))
    204         set(handles.ZMin,'String',num2str(min(data.RangeZ),3))
     204        if numel(data.RangeZ)>=2
     205            set(handles.ZMin,'String',num2str(min(data.RangeZ),3))
     206        end
    205207    end 
    206208    if isfield(data,'Phi')
     
    407409        set(handles.XObject,'TooltipString',['XObject:  x coordinate of the ' ObjectStyle ' centre'])
    408410        set(handles.YObject,'TooltipString',['YObject:  y coordinate of the ' ObjectStyle ' centre'])
    409     case {'plane','volume'} 
     411    case {'plane'} 
     412        set(handles.Phi,'Visible','on')
     413        set(handles.XMin,'Visible','on')
     414        set(handles.XMax,'Visible','on')
     415        set(handles.YMin,'Visible','on')
     416        set(handles.YMax,'Visible','on')
     417        set(handles.XObject,'TooltipString',['XObject:  x coordinate of the axis origin for the ' ObjectStyle])
     418        set(handles.YObject,'TooltipString',['YObject:  y coordinate of the axis origin for the ' ObjectStyle])
     419        set(handles.ZMax,'TooltipString',['ZMax: range of projection normal to the plane'])
     420        if test3D
     421            set(handles.Theta,'Visible','on')
     422            set(handles.Psi,'Visible','on')
     423            set(handles.ZMax,'Visible','on')
     424        end
     425        if isequal(ProjMode,'interp')|| isequal(ProjMode,'filter')
     426            set(handles.DX,'Visible','on')
     427            set(handles.DY,'Visible','on')
     428        else
     429            set(handles.DX,'Visible','off')
     430            set(handles.DY,'Visible','off')
     431        end
     432        if isequal(ObjectStyle,'volume') && isequal(ProjMode,'interp')
     433            set(handles.DZ,'Visible','on') 
     434        end
     435     case {'volume'} 
    410436        set(handles.Phi,'Visible','on')
    411437        set(handles.XMin,'Visible','on')
Note: See TracChangeset for help on using the changeset viewer.