image thumbnail
from MATLAB Plot Gallery - Pie Chart 3D by Plot Gallery
Create a 3D pie chart

Pie_Chart_3D

This is an example of how to create a 3D pie chart in MATLAB®.

Read about the pie3 function in the MATLAB® documentation.

Go to MATLAB Plot Gallery

% Create some data
x = [1 3 0.5 2.5 2];

% Create a 3D pie chart using the pie3 function
figure;
explode = [0 1 0 0 0];
pie3(x, explode);

% Add a title
title('Pie3 Chart');

Contact us