lscatter : scatter plot with labels instead of markers

버전 1.3.0.0 (3.63 KB) 작성자: Yvan Lengwiler
Similar to ML's scatter command, but allows you to use separate labels for each point.
다운로드 수: 2.9K
업데이트 날짜: 2010/10/7

라이선스 보기

Like Matlab's scatter command, lscatter produces a scatter plot. Unlike scatter, it allows you to also use a vector of labels that are used instead of the usual uniform markers.

lscatter(x,y,l)

generates a scatter plot where label{i} is placed at the coordinate (x(i),y(i)), for all i.

The program accommodates a large number of options which make it easy to taylor the output to your needs. The included example script should help you get started.

Please comment if you like it or find it useful.

인용 양식

Yvan Lengwiler (2024). lscatter : scatter plot with labels instead of markers (https://www.mathworks.com/matlabcentral/fileexchange/28079-lscatter-scatter-plot-with-labels-instead-of-markers), MATLAB Central File Exchange. 검색됨 .

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

줌: scattertext

Community Treasure Hunt

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

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

Bug fix thanks to Christ Ftaclas: before, the label vanished when any of the coordinates became zero. Furthermore, the undocumented 'LineSmoothing' option of the 'plot' command is now supported.

1.2.0.0

Now also catches ambiguous options, following a further comment by John D'Errico (Thank you, John!).

1.1.0.0

Options are now case insensitive and can be abbreviated, following John D'Errico's comment.

1.0.0.0