Closed
Description
Printing multiple 3-D pie charts using pie3()
in the same figure isn't working properly: seems to be plotting only one series, the 2-D corresponding pie charts are being plotted under the 3-D ones, the grid is being plotted (when it shouldn't) and the legend isn't working properly neither.
y2010 = [50 0 100 95];
y2011 = [65 22 97 120];
labels = {'Investments','Cash','Operations','Sales'};
t = tiledlayout (2,1);
ax1 = nexttile;
pie3(ax1,y2010)
title('2010')
ax2 = nexttile;
pie3(ax2,y2011)
title('2011')
legend(labels)
fig2plotly();
Expected and generated () plots:
Examples on plotting multiple 3-D pie charts on the same figure can be found on:
https://www.mathworks.com/help/matlab/ref/pie3.html#mw_b04857aa-bd6f-411e-8587-b8bf4fe50591
Metadata
Metadata
Assignees
Labels
No labels