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일

0 개 추천

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개)

카테고리

도움말 센터 및 File Exchange에서 Pie Charts에 대해 자세히 알아보기

태그

질문:

2014년 6월 25일

댓글:

2014년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by