Changeset 38 for trunk/src/plot_object.m


Ignore:
Timestamp:
Mar 7, 2010, 6:30:11 PM (11 years ago)
Author:
sommeria
Message:

field transforms put in subdir transform_field. cleaning of obsolete functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_object.m

    r19 r38  
    4949end
    5050if ~isfield(ObjectData,'Style')|isempty(ObjectData.Style)|~ischar(ObjectData.Style)
    51     warndlg_uvmat('undefined ObjectData.Style in plot_object.m','ERROR')
     51    msgbox_uvmat('ERROR','undefined ObjectData.Style in plot_object.m')
    5252    return
    5353end
    5454if ~isfield(ObjectData,'Style')|isempty(ObjectData.Style)|~ischar(ObjectData.Style)
    55     warndlg_uvmat('undefined ObjectData.Style in plot_object.m','ERROR')
     55    msgbox_uvmat('ERROR','undefined ObjectData.Style in plot_object.m')
    5656    return
    5757end
     
    377377        hh=rectangle('Curvature',[1 1],'Position',[ObjectData.Coord(1,1)-XMax ObjectData.Coord(1,2)-YMax 2*XMax 2*YMax],'EdgeColor',col);
    378378    else
    379         warndlg_uvmat('unknown ObjectData.Style in plot_object.m','ERROR')
     379        msgbox_uvmat('ERROR','unknown ObjectData.Style in plot_object.m')
    380380        return
    381381    end
    382382    set(hh,'Tag','proj_object')
    383     %set(hh,'UserData',ObjectData)%
    384 %         hh=hplot;
    385 %     set(hh,'DeleteFcn',@deletefcn)
    386 %     if isequal(ObjectData.ProjMode,'inside')
    387 %          if isequal(ObjectData.Style,'ellipse')|isequal(ObjectData.Style,'rectangle')
    388 %             set(hh,'FaceColor',col)
    389 %             set(hh,'EdgeColor',col)
    390 %          end
    391 %     end
    392383    if test_patch
    393384        hold on
Note: See TracChangeset for help on using the changeset viewer.