Advanced hline and vline

버전 1.2.0.0 (4.08 KB) 작성자: Hoi Wong
Draws horizontal/vertical lines in graphs. Accept axes handle and allows user to specify label posit
다운로드 수: 2.9K
업데이트 날짜: 2014/8/19

라이선스 보기

I needed to draw some vertical markers to my plots in GUI, so I checked out Brandon Kuczenski's hline/vline submission. However it doesn't accept axes handle as an input argument.
Getting around by switching with 'gca' causes weird behavior due to uncertain timing in GUI. So I reverse engineered the basic idea in his code and added in a few degrees of freedom. I hope this will help other MATLAB GUI programmers.

I haven't done any extensive testing as I'm busy with with my project on hand. Please send any suggestions, bug reports to wonghoi.ee@gmail.com. Thanks!

인용 양식

Hoi Wong (2024). Advanced hline and vline (https://www.mathworks.com/matlabcentral/fileexchange/18796-advanced-hline-and-vline), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기
도움

받음: hline and vline

Community Treasure Hunt

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

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

Added textHandle as an optional output and yLimits for vline() and xLimits for hline() as optional inputs.

1.1.0.0

Refactored to enable linePropertiesList, textPropertiesList, isLineColorSynchronizedWithText

1.0.0.0

Updated description