i USE THE CODING FOR SHOW MULTIPLE CIRCLES, i observe changes when change the scale of window (change points which are inside circles) )
1 次查看(过去 30 天)
显示 更早的评论
C=[39 41.2500000000000;34.3333333333333 93.6666666666667;85.3333333333333 57.6666666666667]
X=[28 92; 44 96;45 61;87 66;18 7;44 35;31 93;75 44;94 63;49 62]
R=[401.753966999705 99.4428926011753 171.334630345285]
figure
hold on
for i=1:3
w=plot(C(i,1), C(i,2),'go', 'MarkerSize', R(i) ,'color','blue','LineWidth',1.5); % Plot small circle.
%legend(b1(1:i),groups(1:i))
gscatter(C(:,1),C(:,2));
gscatter(X(:,1),X(:,2));
end
hold off
0 个评论
回答(1 个)
Image Analyst
2021-11-26
I don't believe the marker size is related to the scale of the axes. It's independent.
If you want to display circles where the radius of the circle is related to the values of your data you should use viscircles(). It's in the Image Processing Toolbox.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!