Thank you for the suggestion, but I couldn't see a difference with
antialiased either True or False. The lines between contour levels remain.
I tried a different colormap (spectral) but it had the same effect. I tried
more color levels (256) but the effect got worse.
I can't find any example
Ryan,
I have noticed the same issue with contourf. It seems to be a thin gap
between neighboring polygons showing through. You can turn on a thin
contour line of the same color to cover the gap:
for c in pylab.contourf( x, y, z ).collections:
c.set_linewidth( 0.1 )
Not ideal, but it
Geoffrey Ely wrote:
Ryan,
I have noticed the same issue with contourf. It seems to be a thin gap
between neighboring polygons showing through. You can turn on a thin
contour line of the same color to cover the gap:
for c in pylab.contourf( x, y, z ).collections:
Ryan Neve wrote:
Thank you for the suggestion, but I couldn't see a difference with
antialiased either True or False. The lines between contour levels remain.
I tried a different colormap (spectral) but it had the same effect. I
tried more color levels (256) but the effect got worse.
I
On Nov 12, 2009, at 10:03 AM, Eric Firing wrote:
Geoffrey Ely wrote:
Ryan,
I have noticed the same issue with contourf. It seems to be a thin
gap between neighboring polygons showing through. You can turn on
a thin contour line of the same color to cover the gap:
for c in
Geoffrey Ely wrote:
On Nov 12, 2009, at 10:03 AM, Eric Firing wrote:
Geoffrey Ely wrote:
Ryan,
I have noticed the same issue with contourf. It seems to be a thin
gap between neighboring polygons showing through. You can turn on
a thin contour line of the same color to cover the gap:
Eric,
Here's a pcolor plot of the same data:
contour_plot = pyplot.pcolor(x_grid,y_grid,z_grid_masked)
http://imgur.com/iL4k7.png
For contourf I'm using:
contour_plot =
pyplot.contourf(x_grid,y_grid,z_grid_masked,contour_levels,origin='upper',\
extent=extent,cmap=pyplot.cm.jet)
... where
Ryan Neve wrote:
Eric,
Here's a pcolor plot of the same data:
contour_plot = pyplot.pcolor(x_grid,y_grid,z_grid_masked)
http://imgur.com/iL4k7.png
It looks to me like this is more suitable for showing your data than
contourf would be.
For contourf I'm using:
contour_plot =
Hello,
In my filled contour plot: http://imgur.com/vXoCL.png
There are faint lines between the contour levels. I think they are yellow
since they disappear in the yellow parts of the graph and are most obvious
in the red areas. Is there any way to get rid of these lines? The number of
contour
Ryan Neve wrote:
Hello,
In my filled contour plot: http://imgur.com/vXoCL.png
There are faint lines between the contour levels. I think they are
yellow since they disappear in the yellow parts of the graph and are
most obvious in the red areas. Is there any way to get rid of these
lines?
10 matches
Mail list logo