Pie chart resembling pacman?
조회 수: 13 (최근 30일)
이전 댓글 표시
can someone help me to create this pie chart? I am a beginner. this is what I have so far:
X = [1 5]
pie(X);
legend
labels = {'Does not resemble Pacman','Resembles Pacman'};
L = legend(labels, 'location', 'east');
set(L, 'position', get(L, 'position') + [.3 0 0 0], ...
'fontsize', 12, 'box', 'off');
댓글 수: 0
채택된 답변
sloppydisk
2018년 5월 16일
I am assuming you want to rotate the chart to look like a Pacman? You could rotate the view angle like this:
ax = gca;
ax.View = [120 90];
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Pie Charts에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!