Remove '%' sign in pie chart

14 ビュー (過去 30 日間)
Jay Ghosh
Jay Ghosh 2014 年 6 月 25 日
コメント済み: Ben11 2014 年 6 月 25 日
This is probably a silly question. Can someone tell me that after I create a pie chart using the pie or pie3 command in MATLAB, how can I remove the % sign that comes with each chunk of the pie chart ?

採用された回答

Ben11
Ben11 2014 年 6 月 25 日
編集済み: Ben11 2014 年 6 月 25 日
From what I saw on the help, I think you need to create a cell array containing the labels you want, that is without %
Their example:
x = 1:3;
labels = {'Taxes','Expenses','Profit'};
figure
pie(x,labels)
  2 件のコメント
Jay Ghosh
Jay Ghosh 2014 年 6 月 25 日
Grazie Ben!
Ben11
Ben11 2014 年 6 月 25 日
My pleasure!

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

その他の回答 (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