On Sun, Jul 25, 2010 at 5:19 AM, arsbbr <ars...@gmx.net> 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 everytime the plot command is executed.
> If the plotting went right, I can rotate everything without any errors.
>
> I'm by no means a coder, but I find it hard to understand that executing
> the
> same script leads to a different outcome. My plan is to make a movie of the
> cylinder while shrinking. If the problem would
> just depend on the viewing angle, I would find a 'good angle', make it
> constant and start the loop. But at the moment the outcome is just
> arbitrary.
>
> Regards,
> arsbbr
>
>
arsbor,

Actually, in your case, I think the issue was also caused by the bad array
construction and plot_surface() was getting bad data depending on the
strides.  There is no random number generator in the code-path, so
*something* must change.  I noticed that it would happen as I changed the
cstride/rstride values for the top cover (before I had fixed the top
cover).  If you still notice the issue now, let me know and I will look into
it further, but it shouldn't be happening for you.

Ben Root
------------------------------------------------------------------------------
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