I have created a GUI using GUIDE and have two checkboxes, where one toggles minor and the other toggles major gridlines. They both work by activating the appropriate lines, but the minor grid is exactly under the major. (So in effect only the major are visible.)
How can I fix this issue so that minor grid-lines appear in between the major as would be expected?
Note: I am using MATLAB 2015a
Major Grid Active
Minor Grid Active
Required Grid
Best Answer