Ah, I misread your original post and thought you were talking about pcolor.
I will take a look at plot_surface and see if there is a possible reason for
your issue. I have an idea of what is happening, but I have to see the code
when I get back to my office tomorrow.
Ben Root
On Sun, Jul 11,
On Friday, July 9, 2010, Benjamin Root ben.r...@ou.edu wrote:
Jeremy,
I believe that 0.99.1 is fairly old. I don't know when Axes3D came along,
but I am sure you can find it in 0.99.3. It is most definitely in 1.0, but
you might not need to go that far if your distro does not provide it.
On Thu, Jul 8, 2010 at 8:41 AM, Jeremy Conlin jlcon...@gmail.com wrote:
On Sun, Jul 4, 2010 at 8:38 PM, Benjamin Root ben.r...@ou.edu wrote:
Jeremy,
The pcolor function can take a vmin and a vmax parameter if you wish to
control the colorscaling. In addition, you can use a special array
Jeremy,
I believe that 0.99.1 is fairly old. I don't know when Axes3D came along,
but I am sure you can find it in 0.99.3. It is most definitely in 1.0, but
you might not need to go that far if your distro does not provide it.
Ben Root
On Fri, Jul 9, 2010 at 4:50 PM, Jeremy Conlin
On Sun, Jul 4, 2010 at 8:38 PM, Benjamin Root ben.r...@ou.edu wrote:
Jeremy,
The pcolor function can take a vmin and a vmax parameter if you wish to
control the colorscaling. In addition, you can use a special array
structure called a masked array to have pcolor ignore special values.
On Wed, Jun 30, 2010 at 10:39 AM, Jeremy Conlin jlcon...@gmail.com wrote:
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)?
It seems that
Jeremy,
The pcolor function can take a vmin and a vmax parameter if you wish to
control the colorscaling. In addition, you can use a special array
structure called a masked array to have pcolor ignore special values.
Assuming your data is 'vals':
vals_masked = numpy.ma.masked_array(vals, vals
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