2017-08-21から1日間の記事一覧
以下の図のx軸、y軸を消してみる コードと軸を削除したい図 %matplotlib inline from pylab import * import matplotlib.pyplot as plt fig,ax = plt.subplots() x_list = [0,1,2] y_list = [0,0,0] ax.scatter(x_list,y_list) 以下のコードで各軸を削除する…
以下のように図を作成する 以下、上記の図を生成させるコード %matplotlib inline from pylab import * import matplotlib.pyplot as plt fig,ax = plt.subplots() x_list = [0,1,2] y_list = [0,0,0] ax.scatter(x_list,y_list) # 下の二行で各点に番号をつ…