These are Practice exercises for using Matplotlib and Creating Colormaps in Python.
Below are the details for the individual files in this repository.
- matplotlib_tutorial_exercises.ipynb : Consists of all plots created in the matplotlib tutorial from official matplotlib tutorials
- loading_images.ipynb : Load an image into Python as an RGB-array, print the dimensions of the RGB-array, compute the total number of pixels and display image
- creating_and_saving_images.ipynb : Creates a gray scale image (matrix) for the function f:[-pi,pi]x[0,1] defined by f(x,y) = y.cos(x/2). With resolution 1024x512.
- your_own_colormap.ipynb : Creating a Color-blind friendly colormap using the CubeHelix Generator
- 2D_contour_plot.ipynb : Creating a contour plot that utilises a user-created colormap for a pendulum function f:[-pi,pi]x[0,1] defined by f(x,y) = y.cos(x/2)