Ignore:
Timestamp:
Aug 29, 2013, 12:32:50 AM (11 years ago)
Author:
sommeria
Message:

cleaning , suppres effect of backward arrow in set_object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_object.m

    r655 r680  
    410410        end     
    411411    else% no patch image requested, erase existing ones
     412        if isfield(PlotData,'SubObject')
    412413        for iobj=1:length(PlotData.SubObject)
    413414            if ishandle(PlotData.SubObject(iobj)) && strcmp(get(PlotData.SubObject(iobj),'Type'),'image')
    414415                delete(PlotData.SubObject(iobj))
    415416            end
     417        end
    416418        end
    417419    end
     
    467469            hh=rectangle('Position',[ObjectData.Coord(1,1)-XMax ObjectData.Coord(1,2)-YMax 2*XMax 2*YMax],'LineWidth',2,'EdgeColor',col);
    468470        case 'ellipse'
    469             hh=rectangle('Curvature',[1 1],'Position',[ObjectData.Coord(1,1)-XMax ObjectData.Coord(1,2)-YMax 2*XMax 2*YMax],'EdgeColor',col);
     471            hh=rectangle('Curvature',[1 1],'Position',[ObjectData.Coord(1,1)-XMax ObjectData.Coord(1,2)-YMax 2*XMax 2*YMax],'EdgeColor',col,'LineWidth',2);
    470472        otherwise
    471473            msgbox_uvmat('ERROR','unknown ObjectData.Type in plot_object.m')
Note: See TracChangeset for help on using the changeset viewer.