Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

how to add text to a pie chart?

Asked by Sivakumaran Chandrasekaran on 10 May 2013

how to add text to a pie chart?... i need to mention monday, tuesday etc., on a pie chart?

0 Comments

Sivakumaran Chandrasekaran

Tags

Products

1 Answer

Answer by Azzi Abdelmalek on 10 May 2013
Accepted answer
days= {'Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'};
percentage=[100/7 100/7 100/7 100/7 100/7 100/7 100/7] 
pie(percentage, days);

0 Comments

Azzi Abdelmalek

Contact us