Pie chart resembling pacman?
3 次查看(过去 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!