Advanced hline and vline
by Hoi Wong
17 Feb 2008
(Updated 20 Feb 2008)
Draws horizontal/vertical lines in graphs. Accept axes handle and allows user to specify label posit
|
Watch this File
|
| File Information |
| Description |
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! |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
hline and vline
|
| MATLAB release |
MATLAB 7.5 (R2007b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 25 Oct 2011 |
Rashbeard
|
|
|
| Updates |
| 20 Feb 2008 |
Updated description |
|
Contact us at files@mathworks.com