I am trying to plot some data over  a mesh using the plot_surface
method.  However when I plot my data, everything is the same color
when I expected to get a nice rainbow of colors as in the example:
http://matplotlib.sourceforge.net/examples/mplot3d/surface3d_demo.html

I have attached a simple script to show what I did as well as the
result.  Essentially, I just copied the above demo, but put my own
data in.  I think the problem arises because I have "holes" in my
data, or areas where the data is zero.  These zeros throw the scaling
off so I tried to eliminate their effect, but this messed everything
up.

Essentially my question is: how can I get a nice color distribution
while at the same time avoid the extreme scaling issues associated
with some data being zero (while all the other data is ~16)?

Thanks,
Jeremy

Attachment: tmp.py
Description: Binary data

Attachment: tmp.pdf
Description: Adobe PDF document

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to