2D plottingΒΆ
Plot a basic 2D figure
import numpy as np
import matplotlib.pyplot as plt
image = np.random.rand(30, 30)
plt.imshow(image, cmap=plt.cm.hot)
plt.colorbar()
plt.show()
Total running time of the script: ( 0 minutes 0.162 seconds)
Plot a basic 2D figure
import numpy as np
import matplotlib.pyplot as plt
image = np.random.rand(30, 30)
plt.imshow(image, cmap=plt.cm.hot)
plt.colorbar()
plt.show()
Total running time of the script: ( 0 minutes 0.162 seconds)