Change the grid lines' LineWidth
114 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How can I change the grid lines' LineWidth??
2 comentarios
Rafi
el 28 de En. de 2024
I want to change only the horizontal and vertical central line, how do you do it?
Respuestas (4)
Toshia M
el 17 de Mzo. de 2023
Editada: Toshia M
el 17 de Mzo. de 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 comentarios
Andre B.
el 29 de Mayo de 2020
You can use 'GridAlpha' (initially set to 0.15). It has a similar effect as changing the LineWidth.
0 comentarios
Jürgen Stein
el 27 de Nov. de 2020
set(gca,'LineWidth',LineWidth)
...will set both the axes outline and grid line width.
0 comentarios
Ver también
Categorías
Más información sobre Grid Lines, Tick Values, and Labels en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!