Borrar filtros
Borrar filtros

Pie chart resembling pacman?

2 visualizaciones (últimos 30 días)
Minka Califf
Minka Califf el 16 de Mayo de 2018
Comentada: Minka Califf el 16 de Mayo de 2018
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');

Respuesta aceptada

sloppydisk
sloppydisk el 16 de Mayo de 2018
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];
  1 comentario
Minka Califf
Minka Califf el 16 de Mayo de 2018
Yes, thank you so much. How can I remove the outline of the pie chart?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Pie Charts en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by