viscircles - How to flip dashed line?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
yonatan s
el 5 de Feb. de 2021
Comentada: yonatan s
el 6 de Feb. de 2021
Hi,
I'm using viscircles to draw a circle with the dashed line property. The problem is one specific dash line interefers with a data point (the circle is stack backwards, but its color and the data color both have red hue).
Is there a way to flip the dashed line, so where it is blank it would be red and viceversa?
Thanks.
2 comentarios
Respuesta aceptada
Walter Roberson
el 6 de Feb. de 2021
h = viscircles([.5,.5], 1, 'LineStyle', '--', 'color', 'r');
nc1 = h.NodeChildren(1);
set(nc1, 'XData', fliplr(nc1.XData), 'YData', fliplr(nc1.YData))
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!