How to create cirlces in matlab?
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone, I was wondering if there is any possibility of making a chart like this on matlab (this one I entered). Also including arrows.
0 个评论
采纳的回答
KSSV
2021-6-29
YEs you can draw such circles, using:
th = linspace(0,2*pi) ;
r = 1;
c = [ 0 0] ;
x = c(1)+r*cos(th) ;
y = c(2)+r*sin(th) ;
patch(X,y,'r')
Also you can show them by using markers, you can give the markers size, color and shape.
To draw arrow read about quiver, annotation.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!