Change the grid lines' LineWidth
96 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How can I change the grid lines' LineWidth??
2 Kommentare
Rafi
am 28 Jan. 2024
I want to change only the horizontal and vertical central line, how do you do it?
Antworten (4)
Jan
am 23 Feb. 2012
You can disable the grid and draw the lines manually using the positions of the ticks.
3 Kommentare
Toshia M
am 17 Mär. 2023
Bearbeitet: Toshia M
am 17 Mär. 2023
There is a new feature in R2023a for changing the grid line width. For more information, see this solution: https://www.mathworks.com/matlabcentral/answers/157863-change-grid-line-width
0 Kommentare
Andre B.
am 29 Mai 2020
You can use 'GridAlpha' (initially set to 0.15). It has a similar effect as changing the LineWidth.
0 Kommentare
Jürgen Stein
am 27 Nov. 2020
set(gca,'LineWidth',LineWidth)
...will set both the axes outline and grid line width.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!