From: Andrew S. <str...@as...> - 2009-10-09 21:26:06
|
Matthias Michler wrote: > Hello list, > > I'm not an expert in axes3d, but in case the feature which Nicolas requested > is not possible in an easy manner up to now, I propose an additional kwarg > for axes3d.Axes3D.contour. Something like *offset*. If offset is None the > z-values of the contour lines corresponds to given Z and otherwise offset is > used for the z-values of the contour lines. > I attached a changed axes3d.py and a patch against current svn. The result is > illustrated in the contour3d_demo.png. > > Could any of the experts have a look at it and tell me if this could be > useful, please? > > Thanks in advance for any comments. > > Kind regards > Matthias > > On Wednesday 30 September 2009 19:22:42 Nicolas Bigaouette wrote: > >> Hi, >> I have a nice plot_surface() using mplot3d (see attachement). >> >> I'd like to project the surface on the axis xoy, xoz and yoz with a >> contour, similar to this figure: >> http://homepages.ulb.ac.be/~dgonze/INFO/matlab/fig19.jpg >> >> Is it possible using matplotlib and mplot3d? >> >> Thanx! >> > > Hi Matthias, I committed your patch to a github branch of MPL, but I'll let Reinier actually commit something based on this to MPL. http://github.com/astraw/matplotlib/tree/dev/michler-3d-contourf-offsets -Andrew |