How to set numbers in legend
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using this code to set the numbers in the legend, see attached file.
This is what happens

legend( sprintf('%g\n', vars))
4 Kommentare
Rik
am 26 Nov. 2018
Then you should provide the ID of the line, not the data itself. What is the content of vars? Try to make a self-contained example so we can fix your code instead of guessing what you did and trying to fix that.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!