labelplot

버전 1.1.0.0 (3.04 KB) 작성자: Will Robertson
Adds plot legend based on 'Tag'
다운로드 수: 1.7K
업데이트 날짜: 2009/6/22

라이선스 보기

This short function will generate a legend based on 'Tag' information given by plot. A legend title is also possible.

figure; hold on; x = 1:10; plot(x,x,'Tag','Positive'); plot(x,-x,'Tag','Negative'); labelplot('eo','v','Slope');

The above example is equivalent to
legend('Positive','Negative')
and adding a text box 'Slope' above it.

인용 양식

Will Robertson (2024). labelplot (https://www.mathworks.com/matlabcentral/fileexchange/11234-labelplot), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Add BSD licence.

1.0.0.0