gridxy2
Version 1.0.0.0 (2.58 KB) by
Carey Smith
Plots colored gridlines. (A revision to gridxy needed for imagesc plots in MATLAB 7.10)
Example:
gridxy2(get(gca,'XTick'),get(gca,'YTick'), 'Color','y','Linestyle',':');
plots yellow X & Y gridlines at the same points as originally plotted on an imagesc plot.
The grid line locations can be arbitrary.
It can plot different colors for different axes, when called sequentially for each axis.
Original version hid the lines in MATLAB version 7.10.
Cite As
Carey Smith (2024). gridxy2 (https://www.mathworks.com/matlabcentral/fileexchange/28244-gridxy2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Axes Appearance in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |