Display legends on the line itself
조회 수: 6 (최근 30일)
이전 댓글 표시
I have to plot a bunch of lines (like 20) in one plot this creates a lot of legends and makes me expand the size of the graph (while adding in the document so all the legends are visible) and give them different styles because if i print them in black and white I have to rely on linestyle for differenciation. Can anybody suggest how can I display the individual line legend on the line itself instead of a separate box. Thanks
댓글 수: 0
채택된 답변
Image Analyst
2013년 2월 8일
Use the text() function to place words wherever you want on your plot.
댓글 수: 0
추가 답변 (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!