How to draw/get crescent plot
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alper Yaşin
am 1 Aug. 2021
Bearbeitet: darova
am 2 Aug. 2021
How can i plot a crescent with 6 points?
I am just looking for ideas so if anyone has any, i would be appreciated if you share your idea with me![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/700137/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/700137/image.png)
0 Kommentare
Akzeptierte Antwort
Vignesh Murugavel
am 1 Aug. 2021
Bearbeitet: darova
am 2 Aug. 2021
Not exactly a crescent, But something similar, maybe you could try and change any values to achieve the shape you are looking for:
th = linspace( pi/3, -pi/3, 100);
R = 1; %or whatever radius you want
x = R*cos(th) + 5;
y = R*sin(th) + 4;
plot(x,y); axis equal;
hold on
th = linspace( pi/3, -pi/3, 100);
R = 1; %or whatever radius you want
x = R*cos(th) + 4.9;
y = R*sin(th) + 4;
plot(x,y); axis equal;
hold off
You can refer to this below link to get a better idea as well: LINK
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Distribution Plots 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!