LineVisible

버전 1.1.0 (2.71 KB) 작성자: Allen
Toggle visibility or delete plot objects by interacting with the item names displayed in a legend.
다운로드 수: 14
업데이트 날짜: 2022/5/21

라이선스 보기

Allows the user to interact with items displayed within plot legends to easily toggle visibility (left mouse-click) or delete from the axes (right mouse-click). This function uses publicly available code to toggle visibility using the ItemHitFcn callback for legend objects. However, it also utilizes undocumented MATLAB functionality to create context menus and delete unwanted items from the legend's parent axes.
Designed to work with plots generated using plot, loglog, semilogx, and semilogy, it will likely work with most other plot functions that incorporate the use of legends.
This function also work in conjuction with the DragDataTip (v4.4+) function also available on File Exchange.

인용 양식

Allen (2024). LineVisible (https://www.mathworks.com/matlabcentral/fileexchange/111950-linevisible), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2022a
R2016a 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

받음: DragDataTip

줌: DragDataTipMode

Community Treasure Hunt

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

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