简体   繁体   中英

Plot shading in a contourplot with matplotlib

I'd like to create a contour plot like in the figure below. I basically have two lists, one with the function values and the other one with bools containing the information if a certain point is significant or not. I wasn't able to find a solution so far, help is much appreciated. Kyroelae等,2013

I have been looking for a good way to do this myself in matplotlib but unfortunately have not found a good solution. However, you could use the excellent pyngl toolbox to make such plots. Take a look at the examples site here or you could use the actual NCAR Command Language (NCL) found here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM