Text in legend is writton over each other. Legend only has one row instad of three. Also wrong default placing of axis tiltes.

1 ビュー (過去 30 日間)
Hi guys,
I use MATLAB R2021a and I have a figure with a legend, using interpreter 'tex'. Often, not always which is weird, the three rows of the legend are written all over each other in one row instead of written in three separate rows. When this problem occurs, the default placing of the axis titles is written through the axis numbers. Is there a fix for this?
See the attached picture for an example.
My code to show the legend is as follows:
legend('Exit times (s)','Modelled ET (s) with FS_{EdgeofRamp} = 1041','Modelled ET (s) with FS_{EdgeofRamp} = 869','location',"southwest",'interpreter','tex')
  2 件のコメント
Mike Mierlo van
Mike Mierlo van 2021 年 4 月 26 日
Well... I guess there is a bug in the r2021a for online use. Sometimes I get the same result as you have, sometimes the legend is messed up.

サインインしてコメントする。

回答 (0 件)

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by