Dynamic Legend with auto line break

3 次查看(过去 30 天)
youjarr
youjarr 2019-3-1
编辑: youjarr 2019-3-1
Hey guys,
I am using a DynamicLegend.
with the following code:
legend(ax(2),'-DynamicLegend', 'Orientation','horizontal','FontSize',5, 'location', 'southoutside');
But if the text is too long.... it only cuts it and dont do a linebreak.
With this code it is ok but i dont want it vertical
legend(ax(1),'-DynamicLegend','FontSize',5, 'location', 'southoutside');
Is there a option to do a "auto linebreak" ?
thanks in advance.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by