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

1 回表示 (過去 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 Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by