When I execute the following lines of code:
h= plot(rand(1, 100));
set(gca, 'XColor', 'r')
the color of the X-axis gridlines, X tick-marks and X tick-labels all become red.
I would like to selectively change the color of the gridlines alone, without changing the color of the X tick-marks and X tick-labels.