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

9 ビュー (過去 30 日間)
Mauro
Mauro 2015 年 3 月 9 日
コメント済み: Mauro 2015 年 3 月 26 日
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 件のコメント
dpb
dpb 2015 年 3 月 9 日
編集済み: dpb 2015 年 3 月 10 日
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 2015 年 3 月 26 日
lets see what carel draw read with a connectet dashed line. thx for the comment dpb

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by