Skip to content

Multiple 3-D pie charts not working properly #200

Closed
@xarico10

Description

@xarico10

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:
Captura de Pantalla 2021-07-26 a la(s) 11 44 17 p  m
Captura de Pantalla 2021-07-26 a la(s) 11 43 58 p  m

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

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions