infinite line that works with pan, zoom and auto-scale

infiniLine adds an infinite line to a plot, similar to a grid-line
94 Downloads
Updated 20 Jan 2017

View License

infiniLine adds an infinite line to a plot. The line will always extend to the axes boundaries, even after changing the limits or interactive zoom and pan. The infiniLine does not interfere with auto-scale. Two files are required, infiniLine.m contains the function to add the line, infiniLineCallBack.m contains the callback function that is called when the plot is updated.

Cite As

Reto Zingg (2024). infinite line that works with pan, zoom and auto-scale (https://www.mathworks.com/matlabcentral/fileexchange/61214-infinite-line-that-works-with-pan-zoom-and-auto-scale), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0