[SciPy-user] How to use pcolor and scatter plot in one image?

wierob wierob83@googlemail....
Sun May 31 05:59:23 CDT 2009


how can I use pcolor and a scatter plot in one image?

I have a scatter plot where a lot of data points are so close to each 
other that they are drawn as (almost) one point in the scatter plot. So 
I'm trying to visualize which area of the scatter plot contains the most 
data points. Using pcolor I can draw a gird where each cell visualizes 
the relative number of data points by a different color.

If I try to draw the scatter plot and the grid in the same image, only 
the scatter plot will be drawn. Regardless of the invocation order of 
plot and pcolor.



Both return only the scatter plot.

I'm new to Scipy. What am I doing wrong?

Thanks in advance.

kind regards

More information about the SciPy-user mailing list