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 weirdly overlapping. The example works OK for me [...] > >
The example does not work OK for me. I used it as a basis to plot some of my data, and at first I thought all was well. Two examples of my data plots and a plot showing the problem directly from the demo code are up at http://austringer.net/wp/index.php/2011/05/20/plotting-a-dolphin-biosonar-click-train/ I tried using the manually-closed polygon workaround in my script without noticeable improvement. I then went back to the demo code, and I can reproduce the error just based on it. The last two plots show the problem. For my data plot, the first polygon (red) is plotted over the second polygon (blue). The problem is worse at various other angles, where up to a third of the polygons are plotted out of order. The plot from the demo code shows the blue polygon overlaid on the yellow polygon, when it should be the other way around. For the plot with more polygons, more ranges of viewing angle show the problem. I had to do a bit of searching to find the, admittedly odd, viewing angle that showed the problem in the demo code. I also changed both "alpha" specifications in the demo code to "1.0" so that transparency wasn't an issue in viewing, but the problem can be replicated in the unmodified demo script. Software versions: Python 2.6.2 (Windows) Matplotlib 0.99.3 Wesley R. Elsberry -- View this message in context: http://old.nabble.com/Problem-%28bug-%29-with-mpl_toolkits.mplot3d.Axes3D-tp30624283p31671270.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users