How to plot a sector of a circle in matlab if you only have the angle of that sector

3 次查看(过去 30 天)
Angle alpha=5
  2 个评论
dpb
dpb 2019-1-27
And what have you done to date and what specific Matlab Q? do you have? "We don't do homework!" :)
Image Analyst
Image Analyst 2019-1-29
Not sure what your edit was. Maybe it was to edit away the question since there is hardly anything there anymore. Regardless, my answer below still stands (so far). Seeing the code in the FAQ, it should be trivial for you to draw a sector spanning some arc and aiming along some angular direction. Just specify the correct starting and stopping angle, draw the arc, and make sure the x,y coordinates have the origin as the first point, and the last point to make sure it goes to the center rather than just doing the curved part of the arc.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2019-1-27
Adapt as needed (it will be easy).

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by