On Monday, January 9, 2012, Ethan Gutmann wrote:
> Along these lines, it looks to me like plot_surface is not shading when I
would expect it to (maybe I just have the wrong expectations?)
>
> I would expect the following to create a surface with colors from the
colormap but shading from a lightsou
Along these lines, it looks to me like plot_surface is not shading when I would
expect it to (maybe I just have the wrong expectations?)
I would expect the following to create a surface with colors from the colormap
but shading from a lightsource.
surf = ax.plot_surface(X, Y, Z, rs
On 01/09/2012 05:46 PM, Benjamin Root wrote:
> When we said that GTK is not supported, (1) is not an official
> decision, I think, (2) we mean the pure GTK *backend*. We fully
> support the GTKAgg backend, which is superior to the GTK backend in
> every way. Please try v1.1.0 before continui
2012/1/9 Zoltán Vörös
>
> On 01/09/2012 05:30 PM, Benjamin Root wrote:
>
> The problem is that the faces themselves are transparent. But if I set
> shade to False, it becomes solid, so that must be the solution.
>
>>
>>
> What version of mpl are you using? For me (on master) I never get
> transp
2012/1/9 Zoltán Vörös
> Thanks for the reply!
>
> surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, facecolors=colors,
>> linewidth=0.0, antialiased=True)
>>
>
> Is the issue that you have transparent lines between the faces? Set the
> "shade" kwarg to True and the "antialiased" k
Thanks for the reply!
surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1,
facecolors=colors,
linewidth=0.0, antialiased=True)
Is the issue that you have transparent lines between the faces? Set
the "shade" kwarg to True and the "antialiased" kwarg to False.
The problem
2012/1/8 Zoltán Vörös
> colors = np.empty(X.shape, tuple)
> for y in range(ylen):
> for x in range(xlen):
> colors[x, y] = (0, 0, 1, 1)
>
> surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, facecolors=colors,
> linewidth=0.0, antialiased=True)
>
Is the issue that you have
Hi All,
I wanted to make a surface plot with some phong on it. I can generate
the colour map without any problems, but the snag is that no matter what
I do, the resulting plot is always transparent. It there a way to set
the patch colour to a true solid colour?
Here is a piece of my code (witho