Hi, Please look at the short example attached showing the issue.
I want to display only one contour line, with value 0.8. Obviously, the color associated with this contour line is bad (blue instead of red color). I think the reason is that the contour has its own colormap, so for only one value, the color is blue. I don't see anything about this issue in the contour help. How can I fix this ? Thanks in advance. Cheers, -- http://scipy.org/FredericPetit
#! /usr/bin/env python from scipy import * from pylab import * x, y = ogrid[-3:3:10*1j,-3:3:10*1j] a = cos(x)*sin(y) imshow(a) colorbar() contour(a, [0.8]) show()
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users