%% Specify Text Labels for Pie Chart
% Create a pie chart of vector |X| and label the slices.

% Copyright 2015 The MathWorks, Inc.


X = 1:3;
labels = {'Taxes','Expenses','Profit'};
pie(X,labels)
