You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Shows y-values of time series in 2D plots by clicking on the axes.
A quick test can be done by typing
showYs('example')
after the file is placed in the Matlab path
It works with one or multiple curves.
By clicking repeatedly on different x positions, the labels and reference line come and go.
After clicking on top of the reference line, it can be dragged together with the text boxes indicating the lines y values.
The selected x value is appended at the end of the x label when the y values are shown.
If the reference line is placed between invalid line points (NaN or +/- Inf values) or outside the data boundaries, the text box edges will be dashed and the value in the text box will be linearly interpolated or extrapolated using the closest valid data for the given line.
File has been tested with Matlab 2014a
Cite As
Pablo Borruel (2026). showYs(action,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/14228-showys-action-varargin), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.0 (30.5 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2.0.0 | Added ability to link axes |
||
| 1.1.0.0 | - Fixed multiple bugs
|
||
| 1.0.0.0 | Added functionallity:
|
