polarplot에서 직선을 긋는방법
이전 댓글 표시
답변 (1개)
첨부된 사진이 없어 정확한 요구사항은 모르겠으나 아래와 같은 접근도 가능할 것 같습니다.
n = 100;
theta = [0, linspace(0, pi/4, n-1)];
rho = [0, 100*ones(1, n-1)];
a = polar(theta,rho);
myColor = lines(1);
patch(get(a,'XData'), get(a,'YData'), myColor, 'FaceAlpha',0.2)
카테고리
도움말 센터 및 File Exchange에서 극좌표 플롯에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!