version (41.9 KB) by Marjorie
Cursorbar creates a cursor line attached to an axes or lines.


Updated 2 Jun 2017

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

The Cursorbar can be dragged interactively across the axes. If attached to a plot, the cursor points are updated as well. The Cursorbar can be either horizontal or vertical.
Thanks to Yaroslav Don ( for his assistance in updating cursorbar for MATLAB Graphics and for his contribution of new functionality.

Cite As

Marjorie (2022). Cursorbar (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!