Plot with points as hollow circles without line through them

23 visualizaciones (últimos 30 días)
I am trying to recreate this plot in MATLAB. This is what I have so far.
I was wondering how to make the circle points not have the lines through them as shown in the first plot. Thank you

Respuesta aceptada

Dyuman Joshi
Dyuman Joshi el 2 de Sept. de 2022
Movida: Rik el 2 de Sept. de 2022
One way is to color the inside of the marker white.
%random data
x=0:0.1:2*pi;
plot(x,sin(x),'o-', 'MarkerFaceColor', 'w')

Más respuestas (0)

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by