Area under the curve of a contour plot created with matplotlib -


i have used matplotlib create contour plot. code simple , reads follows:

import matplotlib.pyplot plt plt.contour(result_array, levels=[0,10,20],colors = ('white','red','black',)) plt.show() 

at point, measure area under curve of each line created contour plot. option between integrate, simps, trapz in principle work. issue unable extract numerical values of contour plot , not sure spacing is. tip?


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -