Adjust grid color

Adjust x, y and/or z grid color


Updated 27 Nov 2012

View License

Adjust the line type and the color of the xgrid, ygrid and zgrid (if necessary) for a specific axis handle. The original grid command changes the color of the axis and axis label, which is avoided with this script.

Cite As

Arnaud Laurent (2023). Adjust grid color (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
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!
Version Published Release Notes