[SciPy-user] How to use pcolor and scatter plot in one image?
wierob
wierob83 at googlemail.com
Sun May 31 06:59:23 EDT 2009
Hi,
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.
...
plot(...)
pcolor(...)
show()
...
pcolor(...)
plot(...)
show()
Both return only the scatter plot.
I'm new to Scipy. What am I doing wrong?
Thanks in advance.
kind regards
robert
More information about the SciPy-User
mailing list