Re: [Matplotlib-users] How to add a basemap to a 3D surface plot

2014-07-18 Thread claudef
Dear Ben, Thanks for the hints. Yes, indeed I was able to print the tuple and loaded the LineCollection (from the basemap shapefile) through my code, a solution that stopped the error (set_label) described below: Here the tuple (river4, Observe the LineCollection is a2D object): (2569, 3, [3

[Matplotlib-users] How to add a basemap to a 3D surface plot

2014-07-17 Thread claudef
Dear colleagues, Wonder if there is a solution for prejecting a basemap, in my task, its a river shapefile, onto a 3D surface plot using Matplotlib. I've tried to use the Axes3D.ax.add_collection3d(rivers) method but my test did throw an error message like this. # tentatively add basemap to

Re: [Matplotlib-users] Millions of data points saved to pdf

2014-05-02 Thread claudef
Dear colleagues, I had a similar issues with a large plot and several thousands of elements printed under Linux and Qt4Agg back-end. At the PDF render I got some vector overlay and distortion of markers in the drawing, so I've changed the plotting output into a two step process, generating fi

[Matplotlib-users] Animated Arrows

2014-04-25 Thread claudef
Dear colleagues, Is there a artist function or routine available in matplotlib for drawing animated arrows following lines (like streamplot) in a 2D space, or even better in a 3D space? Thanks in advance for any hint, or sample code. Regards, Claude Claude Falbriard Certified IT Special

[Matplotlib-users] RedHat and Release Upgrade to Numpy 1.8.1 and Matplotlib 1.3.1 / Install from Source

2014-03-27 Thread claudef
Dear colleagues, I've decided to upgrade my matpoltlib installation under a RedHat 6.4 Linux, by removing the original yum package and installing latest version of Numpy 18.1 and Matplotlib 1.3.1. My Python is still 2.6.6. The manual installation from source completed successfully, but when

[Matplotlib-users] Matplotlib - Drawing a Trapezoid Isosceles with Poly3DCollection

2014-03-26 Thread claudef
Dear colleagues, Exploring the 3D support for plotting a simple trapezoid isosceles based on eight locations with x,y,z (imagine a water tank). When doing a manual selection of the collections that defines each surface plane, the drawing works well (see a sample below). Watching for a more au