How to set numbers in legend
조회 수: 4 (최근 30일)
이전 댓글 표시
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
Rik
2018년 11월 26일
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!