How to get a solid circle encircled by another circle and solid circle encircled by a square

3 次查看(过去 30 天)
I am using
plot(X,Y,'o','MarkerFaceColor', 'k')
to get solid circle. But I want to get a solid circle encircled by another circle and solid circle encircled by a square. For example I have attached a fig where at the start there is a big circle and at the end there is a square.

采纳的回答

hosein Javan
hosein Javan 2020-8-11
x = 1; y =2;
figure(1)
plot(x,y,'o','MarkerSize',20)
hold on
plot(x,y,'o','MarkerFaceColor', 'k')
figure(2)
plot(x,y,'s','MarkerSize',20)
hold on
plot(x,y,'o','MarkerFaceColor', 'k')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by