MATLAB Answers


Change the grid lines' LineWidth

SSOI SS 님이 질문을 제출함. 23 Feb 2012
최근 활동 Matt Kindig 님이 편집함. 22 Oct 2013
How can I change the grid lines' LineWidth??

  댓글 수: 1

No way to control it separately from the axes.

로그인 to comment.


답변 수: 1

Answer by Jan
on 23 Feb 2012

You can disable the grid and draw the lines manually using the positions of the ticks.

  댓글 수: 3

on 23 Feb 2012
Done this myself as well - not pretty but it does the trick. If performance becomes an issue it may help if you use lower level graph primitives like "line"
on 23 Feb 2012
is it possible to change length of ticks with TickLength and use them as grids?
You'll get black straight lines.

로그인 to comment.

Translated by