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

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

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

google shop client API returns 400 bad request error while adding an item -