Re: [Q] CountorPlot as part of 3D Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg4353] Re: [Q] CountorPlot as part of 3D Plot
- From: Harald Berndt <haraldb at nature.berkeley.edu>
- Date: Thu, 11 Jul 1996 01:01:29 -0400
- Organization: University of California Forest Prodcts Lab
- Sender: owner-wri-mathgroup at wolfram.com
Gerd Lanfermann wrote: > problem: i want to display a 3d plot, of lets say saddle, using > Plot3D. > I also want to to include a colored contour plot of this saddle ON THE > BOTTOM of the 3D-box, that matches the 3d plot. > > So far I cannot convert a -ContourGraphics- to a -Graphics3D- >object. I figure that a Graphics3D object needs to have 3D coordinates for its objects, so your approach is unlikely to work. You'll probably need to do some massaging of the 2D objects and render the lines/points/polygons as primitives, say in an Epilog. The general idea is (1) extract the graphics primitives from your 2D plot (2) map all your {x, y} coordinates into {x, y, z} coordinates with something like {youListOfGraphicsPrimitives}//.{x_, y_}:>{x, y, z}. -- ______________________________________________________________________ Harald Berndt, University of California Research Specialist Forest Products Laboratory Phone: 510-215-4224 FAX: 510-215-4299 ______________________________________________________________________ ==== [MESSAGE SEPARATOR] ====