remove grid lines completely
Show older comments
I want to remove grilines completely. I just have the .fig file
Accepted Answer
More Answers (1)
Kevin Holly
on 25 Jan 2022
After opening the figure, you can type the following assuming there is only one axes on the figure:
grid off
or
grid(gca,'off') %The first input target the axes. gca stands for get current axes.
2 Comments
Abhijit Sardar
on 25 Jan 2022
Kevin Holly
on 25 Jan 2022
See Walter's answer. His answer works for multiple axes.
Categories
Find more on Grid Lines, Tick Values, and Labels in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!