0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Python】 matplotlib x軸ラベルを縦に書く(90度回転)

Last updated at Posted at 2022-04-26

プログラム

import matplotlib.pyplot as plt

columns = ['Tom','Mike','Emi']
values = [178,182,165]

plt.bar(columns,values)

# x軸ラベルを縦に書く(90度回転)
plt.xticks(rotation=90)

# plt.show()
# 保存
plt.savefig('Fig1.png')

実行結果

image.png

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?