Dear Lado,
You should be able to do it simply by calling countourf multiple times
changing the alpha value (or setting it to something like 0.5)
plt.contourf(..., alpha=0.8, ...)
plt.contourf(..., alpha=0.6, ...)
plt.contourf(..., alpha=0.4, ...)
The problem comes when you want to save the figure as eps: it does not
support transparency, so the alpha level is ignored and all colors are
solid.
Cheers,
Francesco
2013/6/13 Lado Samushia <colk...@gmail.com>
> How can I plot multiple overlaid transparent contour plots in matplotlib?
> The link below has a plot that shows I am trying to achieve.
>
> https://docs.google.com/file/d/0B4HYv5Dbtu1Zb1VtOG9PTkJCeVU/edit?usp=sharing
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users