Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

hosein Javan
hosein Javan el 11 de Ag. de 2020
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')

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by