Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-05-21 Thread welsberr
Daniel Mader-2 wrote: Hello, I have a problem with the 3D plotting of PolyCollections with python-matplotlib-1.0.0 (on openSUSE 11.3 x86_64): instead of being correctly stacked as in the example http://matplotlib.sourceforge.net/examples/mplot3d/polys3d_demo.html, the plots are

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-05-21 Thread Benjamin Root
On Sat, May 21, 2011 at 10:38 AM, welsberr welsb...@baywing.net wrote: Daniel Mader-2 wrote: Hello, I have a problem with the 3D plotting of PolyCollections with python-matplotlib-1.0.0 (on openSUSE 11.3 x86_64): instead of being correctly stacked as in the example

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-13 Thread Daniel Mader
Dear Ben, again, thanks for all your support! Still, I am unable to get the plot done. In your example, each set of elements gets a color where as I need each element to have its own color. I'll attach a file to demonstrate. Maybe you know how to get this done, and sorry that I am a bit slow on

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-12 Thread Daniel Mader
Um, after seriously playing with the file I realized that the suggested workaround of generating a closed single polygon won't work for me: I need the individual quads or triangles in the plot as they correspond to FEM simulation elements and have stress values assigned to them... As far as I

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-12 Thread Benjamin Root
On Wed, Jan 12, 2011 at 3:30 PM, Daniel Mader danielstefanma...@googlemail.com wrote: Dear Ben, in your example, the stacking works but the polygons are wrong, or am I mistaken? Attached is the plot which is generated by your code. And, you don't have to thank me---it's me who is

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-11 Thread Daniel Mader
Interesting... this will need to be investigated a little bit further. In the meantime, making a single polycollection with all the pieces seem to do the trick for now. I have attached a modified version of your script to demonstrate. Dear Ben, this is great news, it works perfectly well!

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-11 Thread Benjamin Root
On Tue, Jan 11, 2011 at 8:17 AM, Daniel Mader danielstefanma...@googlemail.com wrote: Interesting... this will need to be investigated a little bit further. In the meantime, making a single polycollection with all the pieces seem to do the trick for now. I have attached a modified

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-10 Thread Benjamin Root
On Sun, Jan 9, 2011 at 6:41 AM, Daniel Mader danielstefanma...@googlemail.com wrote: Dear Benjamin, thank you very much for your explanations, it really helped me to get a better understanding of what's going on! I've now tried to reverse the zpos list, i.e. instead of using [0,1,2,3,4]

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-09 Thread Daniel Mader
Dear Benjamin, thank you very much for your explanations, it really helped me to get a better understanding of what's going on! I've now tried to reverse the zpos list, i.e. instead of using [0,1,2,3,4] as the z-value for the collections I tried to plot them as [4,3,2,1,0] but this didn't help

[Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-08 Thread Daniel Mader
Hello, I have a problem with the 3D plotting of PolyCollections with python-matplotlib-1.0.0 (on openSUSE 11.3 x86_64): instead of being correctly stacked as in the example http://matplotlib.sourceforge.net/examples/mplot3d/polys3d_demo.html, the plots are weirdly overlapping. The example works

Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-08 Thread Benjamin Root
On Sat, Jan 8, 2011 at 4:07 PM, Daniel Mader danielstefanma...@googlemail.com wrote: Hello, I have a problem with the 3D plotting of PolyCollections with python-matplotlib-1.0.0 (on openSUSE 11.3 x86_64): instead of being correctly stacked as in the example