필터 지우기
필터 지우기

grid線の太さのかえ方

조회 수: 42 (최근 30일)
N/A
N/A 2018년 7월 17일
답변: Toshia M 2023년 3월 17일
grid線の太さを変更するにはどのようなプログラムを書けばいいですか? ax.LineWidth = 1.5と書きましたが、エラーが出ました。

채택된 답변

michio
michio 2018년 7월 17일
grid線の色の濃さ(GridAlpha) や線種(GridLineStyle)を変更する機能は グリッド ラインの外観の変更 で紹介しておりますが、残念ながら現時点では grid 線の太さを変更する機能はありません。
File Exchange に grid2 という関数が公開されており、こちらを使うと太さも編集可能の様です。

추가 답변 (1개)

Toshia M
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

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!