Hi all I have some data with enumerated values in an array. Values are like 1,2,7,9 spread around in the array. I want to plot those values so that I can see the 'regions' in my data, then I want to overlay this with some contour lines drawn from other data.
I want to be able to specify the colors for each of the enumerated values, as they need to be consistent throughout my work. My array of enumerated values is *masked* so that there are areas where I don't want to show anything (this would plot as transparent pixels). Has anyone got suggestions on the best way of doing this? It seems that the technique in http://www.scipy.org/Cookbook/Matplotlib/Plotting_Images_with_Special_Values might be overkill, right? It also seemed that it had some problems with masked arrays. Cheers JP -- John Pye School of Mechanical and Manufacturing Engineering The University of New South Wales Sydney NSW 2052 Australia t +61 2 9385 5127 f +61 2 9663 1222 mailto:john.pye_AT_student_DOT_unsw.edu.au http://pye.dyndns.org/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users