Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-25 Thread arsbbr
Ben, your code fixed the shading problem, but it did not change anything on the clipping error. I also found that changing the cstride/rstride helps 'sometimes'. But also does changing the linewidth. The problem is consistency with my loop... I understand this is a bug that is not easy to fix.

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-25 Thread Benjamin Root
On Sun, Jul 25, 2010 at 5:19 AM, arsbbr wrote: > > Thanks, this was quite a tiny weekend project for you :) > I'll keep you tip in mind. > > Concerning the foreground/background issue: The problem here seems quite > random. It does not depend on the viewing angle. I rather just have to be > lucky

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-25 Thread arsbbr
Thanks, this was quite a tiny weekend project for you :) I'll keep you tip in mind. Concerning the foreground/background issue: The problem here seems quite random. It does not depend on the viewing angle. I rather just have to be lucky everytime the plot command is executed. If the plotting went

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-24 Thread Benjamin Root
On Sat, Jul 24, 2010 at 2:46 PM, arsbbr wrote: > > Thank you for looking into it! > It would be perfectly fine for me to merge the two objects, so that one > surface_plot command will do it. > Maybe someone can give me a hint how to accomplish that? > > I appreciate any tips. > > > > Benjamin Roo

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-24 Thread arsbbr
Thank you for looking into it! It would be perfectly fine for me to merge the two objects, so that one surface_plot command will do it. Maybe someone can give me a hint how to accomplish that? I appreciate any tips. Benjamin Root-2 wrote: > > On Sat, Jul 24, 2010 at 7:18 AM, arsbbr wrote: >

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-24 Thread Benjamin Root
On Sat, Jul 24, 2010 at 7:18 AM, arsbbr wrote: > > Hi, > i'm trying to make a simple 3d plot of a cylinder with plot_surface. > There are two problems in my output: > 1) the shading, shading does not work on the cylindric shell and at the > same > time produces weird > artifacts on the top cover.

[Matplotlib-users] plot_surface shading and clipping error

2010-07-24 Thread arsbbr
Hi, i'm trying to make a simple 3d plot of a cylinder with plot_surface. There are two problems in my output: 1) the shading, shading does not work on the cylindric shell and at the same time produces weird artifacts on the top cover. http://old.nabble.com/file/p29254649/cyl-shade-error.png 2)