フィルターのクリア

Pie chart resembling pacman?

2 ビュー (過去 30 日間)
Minka Califf
Minka Califf 2018 年 5 月 16 日
コメント済み: Minka Califf 2018 年 5 月 16 日
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');

採用された回答

sloppydisk
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];
  1 件のコメント
Minka Califf
Minka Califf 2018 年 5 月 16 日
Yes, thank you so much. How can I remove the outline of the pie chart?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePie Charts についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by