MATLAB: Pie chart resembling pacman

MATLABpiepie chartpiechart

can someone help me to create this pie chart? I am a beginner. this is what I have so far:
X = [1 5]
pie(X);
legend
labels = {'Does not resemble Pacman','Resembles Pacman'};
L = legend(labels, 'location', 'east');
set(L, 'position', get(L, 'position') + [.3 0 0 0], ...
'fontsize', 12, 'box', 'off');

Best Answer

I am assuming you want to rotate the chart to look like a Pacman? You could rotate the view angle like this:
ax = gca;
ax.View = [120 90];