-1
私は1つのヘックスビングラフを持っていますが、このグラフに他の点(2点(x1、y1)など)を追加する方法はありますか?Pythonで六角形グラフの点をプロットする方法は?
おかげ
x=log(PR)
y=log(CR)
xmin = x.min()
xmax = x.max()
ymin = y.min()
ymax = y.max()
x1=log(np.array([10,20]))
y1=log(np.array([10,20]))
plt.hexbin(x1, y1, bins='log',color='red')
plt.hexbin(x, y, bins='log', cmap=plt.cm.gist_ncar)
plt.axis([xmin, xmax, ymin, ymax])
plt.title("With a log color scale")
cb = plt.colorbar()
cb.set_label('log10(N)')
plt.show()