MATLAB Answers

how to add text to a pie chart?

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

  0 Comments

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


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today