def daplot(quantity, qmin, qmax):
ax.set_xlim(0, size)
ax.set_ylim(0, size)
ax.set_xticklabels(())
ax.set_yticklabels(())
plt.imshow(quantity, origin='lower', interpolation='nearest',
norm=colors.LogNorm(vmin=qmin, vmax=qmax), cmap=cm.coolwarm)
plt.colorbar()
# minimum and maximum emission-line fluxes for plot ranges
评论列表
文章目录