Imshow and interpolations for imshow

Fig1 呈現16種內插功能的示意圖

1.Load library

載入會使用到的函式庫àà 1.matplotlib 2.numpy

2.Set methods

設定18種圖畫法

3.Fixing random state for reproducibility

np.random.seed()的作用是生成隨機數

4.set grid of image

5.set fig axs

6.

7.

8.


Reference
[0]https://matplotlib.org/gallery/images_contours_and_fields/interpolation_methods.html?highlight=interpolations imshow

results matching ""

    No results matching ""