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에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!