array2legend

버전 1.0.1 (1.6 KB) 작성자: Micke Malmström
generates a legend based on the numbers in an array
다운로드 수: 6
업데이트 날짜: 2022/5/25

라이선스 보기

ARRAY2LEGEND(Data,PreStr) generates a legend based on the numbers in the specified variable Data
legendHandle = array2legend(Data,{Prestr Poststr},pattern)
with a defined Pre-string and optionally a Post-string and or string-pattern. The basic code that is run at the end is:
legend(num2str(Data(:),[str{1} pattern str{2}]))
Alternative use:
matrix2legend(Data,Prestr)
% or
matrix2legend(Data,Prestr, Poststr)

인용 양식

Micke Malmström (2024). array2legend (https://www.mathworks.com/matlabcentral/fileexchange/112165-array2legend), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2022a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

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

fixed typo in description

1.0.0