how legend update with variable
显示 更早的评论
t=linspace(0.1,1,10)
legend ('0.1','0.2','0.3',......upto '1')
how legend update with variable 't' with there values on graph
4 个评论
Rik
2019-8-23
Sun Heat
2019-8-23
Bruno Luong
2019-8-23
编辑:Bruno Luong
2019-8-23
There is something called ARRAYFUN
legend_txt = arrayfun(@(x)sprintf('%.1f',x),t,'UniformOutput',0)
Sun Heat
2019-8-26
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!