The grid lines in Matlab 2014b are thin and light, which makes it difficult to see. Is it possible to increase the visibility of the Matlab grid lines?
You can only change the thickness of all lines using:
ax = gca
ax.LineWidth = 20
LineWidth — Width of axes outline, tick marks, and grid lines 0.5 (default) | scalar value Width of axes outline, tick marks, and grid lines, specified as a scalar value in point units. One point equals 1/72 inch.
To make it more visible you can change the color and transparency using:
ax = gca
ax.GridLineStyle = '-'
ax.GridColor = 'k'
ax.GridAlpha = 1 % maximum line opacity
More details about the editable properties of grid lines can be found here:
http://www.mathworks.com/help/matlab/ref/axes-properties.html#zmw57dd0e49371
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With