how legend update with variable
Ältere Kommentare anzeigen
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 Kommentare
Rik
am 23 Aug. 2019
Sun Heat
am 23 Aug. 2019
Bruno Luong
am 23 Aug. 2019
Bearbeitet: Bruno Luong
am 23 Aug. 2019
There is something called ARRAYFUN
legend_txt = arrayfun(@(x)sprintf('%.1f',x),t,'UniformOutput',0)
Sun Heat
am 26 Aug. 2019
Antworten (0)
Kategorien
Mehr zu Legend finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!