Skip to content

Commit

Permalink
Fix Point marker.
Browse files Browse the repository at this point in the history
  • Loading branch information
btasdelen committed Jun 11, 2022
1 parent 6013d74 commit 96ef07d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions asMarkerClass.m
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,9 @@ function initPosCellArray(obj)
P = pos(:,i);
switch obj.style
case 1
% impoint
markerHandles{i} = impoint(ah,P(2),P(1));
markerHandles{i}.setColor(obj.color);
% drawpoint
markerHandles{i} = drawpoint(ah, 'Position', [P(2),P(1)], ...
'Color',obj.color);
case 2
% rectangle
markerHandles{i} = rectangle('Parent',ah,'Position',[P(2)-.5, P(1)-.5, 1,1],'Curvature',[0,0],...
Expand Down

0 comments on commit 96ef07d

Please sign in to comment.