Hi, running the simple test code:
from pylab import * X, Y = meshgrid(linspace(-3,3,11),linspace(-3,3,11)) Z = randn(*X.shape) lev = linspace(Z.min(),Z.max(),11)[1:-1] contourf(X,Y,Z, lev, extend='both') contour(X,Y,Z, lev, colors='k') show() you will probably notice that the 'contourf' contours are not always exactly the sames as the 'contour' contours. Why is it so? Don't contour and contourf use the same contour constructor? Cheers. -- / \ , , _._ _ |oo| _ / \__/ \ _|||| ((/ () \)) / \ Yannick COPIN (o:>* Doctus cum libro |||||/| ( ==== ) |oo| Institut de physique nucleaire de Lyon \____/ _`\ /'_ / \ (IN2P3 - France) / /.-' /\<>/\ `\.( () )_._ Tel: (33/0) 472 431 968 | ` / \/ \ /`'--'////) http://snovae.in2p3.fr/ycopin/ \__,-'`| |. |\/ |/\/\|"\"` AIM: YcCopin ICQ: 236931013 jgs | |. | \___/\___/ | |. | | | ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users