How to plot an arc shaped figure?
Show older comments
I would like to know how to plot something similar to the picture here in below. As we can see, the plot is on an arc of a circle.

Answers (2)
darova
on 14 May 2020
Try this
t = linspace(0,pi,500);
x = cos(t).*(1 + 0.1*cos(30*t) + 0.05*sin(100*t));
y = sin(t).*(1 + 0.1*cos(30*t) + 0.05*sin(100*t));
plot(x,y)
axis equal

2 Comments
Milad Izadi
on 14 May 2020
darova
on 14 May 2020
I don't understand. Can you show? Simple sketch?
Milad Izadi
on 16 May 2020
0 votes
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!