Change the grid lines' LineWidth
조회 수: 139 (최근 30일)
이전 댓글 표시
How can I change the grid lines' LineWidth??
댓글 수: 2
답변 (4개)
Jan
2012년 2월 23일
You can disable the grid and draw the lines manually using the positions of the ticks.
댓글 수: 3
Toshia M
2023년 3월 17일
편집: Toshia M
2023년 3월 17일
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
Andre B.
2020년 5월 29일
You can use 'GridAlpha' (initially set to 0.15). It has a similar effect as changing the LineWidth.
댓글 수: 0
Jürgen Stein
2020년 11월 27일
set(gca,'LineWidth',LineWidth)
...will set both the axes outline and grid line width.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!