When placing a legend on a figure with multiple charts, only one of them is correctly labeled. For example, ``` y2010 = [50 0 100 95]; y2011 = [65 22 97 120]; labels = {'Investments','Cash','Operations','Sales'}; t = tiledlayout(1,2,'TileSpacing','compact'); % Create pie charts ax1 = nexttile; pie(ax1,y2010) title('2010') ax2 = nexttile; pie(ax2,y2011) title('2011') % Create legend lgd = legend(labels); lgd.Layout.Tile = 'east'; fig2plotly(); ``` Expected and generated () plots: <img width="524" alt="Captura de Pantalla 2021-07-26 a la(s) 4 34 21 p m" src="https://user-images.githubusercontent.com/87881895/127062237-5855165a-cc08-4a37-b1ea-5981c6afd55a.png"> <img width="821" alt="Captura de Pantalla 2021-07-26 a la(s) 4 34 46 p m" src="https://user-images.githubusercontent.com/87881895/127062294-37174119-69c1-4175-abd2-04c4abd9fbb6.png"> As you can see, the two legends are pretty different. The previous example can be found on: https://www.mathworks.com/help/matlab/ref/pie.html#responsive_offcanvas