How to set numbers in legend
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Rik
il 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.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Legend in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!