How to draw/get crescent plot
7 ビュー (過去 30 日間)
古いコメントを表示
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

0 件のコメント
採用された回答
Vignesh Murugavel
2021 年 8 月 1 日
編集済み: darova
2021 年 8 月 2 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
