Discussion:
Help with grid linewidth
Rik
2016-08-22 17:38:51 UTC
Permalink
Could someone test the following in Matlab?

plot (1:10)
grid on
set (gca, 'linewidth', 6)

The axes lines should be large (= 6). Do the grid lines also become large
or do they stay at ~1 pt?

What happens if you add

grid minor

Are the minor grid lines the same linewidth as the major ones?

Thanks,
Rik
Philip Nienhuis
2016-08-22 18:58:31 UTC
Permalink
Post by Rik
Could someone test the following in Matlab?
plot (1:10)
grid on
set (gca, 'linewidth', 6)
The axes lines should be large (= 6). Do the grid lines also become large
or do they stay at ~1 pt?
They become large. See screen shot 1
Post by Rik
What happens if you add
grid minor
Are the minor grid lines the same linewidth as the major ones?
Yes. See screen shot 2

r2016b

Philip

screenshot1.png
<Loading Image...>
screenshot2.png
<Loading Image...>



--
View this message in context: http://octave.1599824.n4.nabble.com/Help-with-grid-linewidth-tp4679409p4679411.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
Pantxo
2016-08-22 20:49:14 UTC
Permalink
The ML documentation says that the "linewidth" property controls the outline,
the tick marks and the grid width [1].

[1] http://fr.mathworks.com/help/matlab/ref/axes-properties.html



--
View this message in context: http://octave.1599824.n4.nabble.com/Help-with-grid-linewidth-tp4679409p4679413.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
Loading...