User Tools

Site Tools


python:matplotlib:目盛りの設定

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python:matplotlib:目盛りの設定 [2018/01/24 21:32]
koudai [目盛りの幅と長さ]
python:matplotlib:目盛りの設定 [2021/06/27 22:04] (current)
Line 86: Line 86:
  
 plt.plot(x, y) plt.plot(x, y)
- 
-plt.xticks(np.arange(-6,6,2)) 
-plt.yticks(np.arange(-1.5,1.5,0.5)) 
- 
-plt.xlim(-5,5) 
-plt.ylim(-1.2,1.2) 
  
 plt.show() plt.show()
 </file> </file>
python/matplotlib/目盛りの設定.1516797122.txt.gz · Last modified: 2021/06/27 21:59 (external edit)