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 Kommentare

KALYAN ACHARJYA
KALYAN ACHARJYA am 5 Feb. 2021
Please attach the sample image
yonatan s
yonatan s am 6 Feb. 2021
Attached.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Feb. 2021

0 Stimmen

h = viscircles([.5,.5], 1, 'LineStyle', '--', 'color', 'r');
nc1 = h.NodeChildren(1);
set(nc1, 'XData', fliplr(nc1.XData), 'YData', fliplr(nc1.YData))

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by