Contourf and log color scale — Matplotlib 3.5.3 documentation
https://matplotlib.org/stable/gallery/images_contours_and_fields/contourf_log.html
import matplotlib.pyplot as plt import numpy as np from numpy import ma from matplotlib import ticker, cm N = 100 x = np. linspace (-3.0, 3.0, N) y = np. linspace (-2.0, 2.0, N) X, Y = np. meshgrid (x, y) # A low hump with a spike coming out. # Needs to have z/colour axis on a log scale so we see both hump and spike. # linear scale only shows ...
DA: 10 PA: 37 MOZ Rank: 75