Changeset 74 for trunk/src/set_object.m
- Timestamp:
- Mar 31, 2010, 12:39:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r72 r74 202 202 end 203 203 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 205 207 end 206 208 if isfield(data,'Phi') … … 407 409 set(handles.XObject,'TooltipString',['XObject: x coordinate of the ' ObjectStyle ' centre']) 408 410 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'} 410 436 set(handles.Phi,'Visible','on') 411 437 set(handles.XMin,'Visible','on')
Note: See TracChangeset
for help on using the changeset viewer.