0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

matplot.lib メモ

Last updated at Posted at 2025-01-12

<.xticks(yticks)>
(tickは目盛りのことかな、TickTackチクタクってこと?)

目盛り(軸)を打つところをリスト形式[]で渡してる
→range()を使えば、stepを考慮したリストが作成可!
→np.arange()使えば、floatも扱える!

.xlim(ylim)を使えば、目盛りとは別で軸の最小値・最大値を指定可!
組み合わせて使おう

<.tick_params>
目盛りのパラメーター設定
以下使ったオプション
axis:軸を指定(both,x,y)(str)
length:長さ指定(float)(0にすることで目盛りをなくせる!)
direction:向き指定(in,out,inout)(str)
https://pygraph.helve-blog.com/matplotlib-conf/tick-config

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?