Filter löschen
Filter löschen

Draw an Arc with a dashed line(not with plot function)

2 Ansichten (letzte 30 Tage)
Mauro
Mauro am 9 Mär. 2015
Kommentiert: Mauro am 26 Mär. 2015
I want to dra an arc with center and, angle, start and or endpoint. Important detail: I can't use the plot function. Just try the linestyle '--' and you know why (it has a horrible shape or you get a solid line) so I search something like (<http://ch.mathworks.com/help/symbolic/mupad_ref/plot-arc2d.html>) that produces a true single graphic object as an arc to draw dashed lines.
  2 Kommentare
dpb
dpb am 9 Mär. 2015
Bearbeitet: dpb am 10 Mär. 2015
Good luck. Handle graphics only implements drawing from point-to-point by straight lines betweens; any arc is resolution of the points which create it as line segments. There is no arc "object", nor afaik, any way to build such an animal except by drawing it.
ADDENDUM
You can, of course, encapsulate into a function the facility to draw such an arc given those inputs and have that function take care of the nitty-gritty but that, to the best of what I can think of now, is the closest thing to an "object" you can get (outside the OOP paradigm nomenclature/implementation of course).
Mauro
Mauro am 26 Mär. 2015
lets see what carel draw read with a connectet dashed line. thx for the comment dpb

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by