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

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

% Copyright 2015 The MathWorks, Inc.