Re: [Matplotlib-users] Diplaying 2D images in mplot3d

2014-10-02 Thread Nicolas P. Rougier
You might want to have a look at vispy.org, we implemented the wx backend and there are several examples available. (and the new glumpy home is http://glumpy.github.io) vispy examples at http://vispy.org/gallery.html Nicolas On 01 Oct 2014, at 20:27, Fabrice C. kappamonag...@yahoo.co.jp

Re: [Matplotlib-users] Diplaying 2D images in mplot3d

2014-10-02 Thread Benjamin Root
Correction for something I said earlier. I got my pcolor and pcolormesh objects mixed up. Neither the QuadMesh nor the PolyCollection from the two functions are image-based. So they do have a glimmer of hope of being converted into 3d. The PolyCollection is the best candidate as I think there is

Re: [Matplotlib-users] Diplaying 2D images in mplot3d

2014-10-02 Thread Fabrice C.
Nicolas, Thank you for the link to vispy. This looks like it will be much easier for me to wrap my mind around vispy than VTK... Best regards, Fabrice Nicolas P. Rougier nicolas.roug...@inria.fr wrote: You might want to have a look at vispy.org, we implemented the wx backend and there are

Re: [Matplotlib-users] Diplaying 2D images in mplot3d

2014-10-01 Thread Fabrice C.
Dear Ben, Thank you for the explanation. Too bad mplot3d cannot display textured polygons. I did have a look at glumpy and it does part of what I am looking for. However, glumpy does not support being embedded in a wxpython application which is a requisite for me. I guess I just have to learn

Re: [Matplotlib-users] Diplaying 2D images in mplot3d

2014-10-01 Thread Adam Hughes
Instead of learning VTK, you may find it easier to start with Mayavi 2 (written on VTK). On Wed, Oct 1, 2014 at 2:27 PM, Fabrice C. kappamonag...@yahoo.co.jp wrote: Dear Ben, Thank you for the explanation. Too bad mplot3d cannot display textured polygons. I did have a look at glumpy and

[Matplotlib-users] Diplaying 2D images in mplot3d

2014-09-30 Thread Fabrice C.
Dear list, I would like to display a 2D image in a mplot3d axe in order to combine it with a surface3D or a bar3d plot for instance. The effect I am looking for is similar to what can be seen in the bottom XY plane of http://matplotlib.org/1.4.0/examples/mplot3d/contourf3d_demo2.html, except

Re: [Matplotlib-users] Diplaying 2D images in mplot3d

2014-09-30 Thread Benjamin Root
I tried something like this awhile back to no avail. Because of the kludgy nature of mplot3d, we are lucky we even can display 2d artists like polygons (and, this is me speaking as the de facto maintainer of mplot3d!). Images are an entirely different beast, unfortunately. What *might* work is