Re: projection of contourplot
- To: mathgroup at smc.vnet.net
- Subject: [mg64389] Re: projection of contourplot
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Wed, 15 Feb 2006 03:32:02 -0500 (EST)
- Organization: Uni Leipzig
- References: <dspfv0$cgo$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
a) when a ContourPlot[] is transformed into a
Graphics[] object
the polygons are not convex and Mathematica
can't render non-convex
polygons in 3d with out some additional
packages ...
b) if you can live with the contour *lines*, you
can say
ll=Cases[
Graphics[ContourPlot[Sin[x*y],{x,0,Pi},{y,0,Pi}]],_Line,Infinity];
Show[Graphics3D[
ll /. Line[pnts_]:> Line[Append[#,0] & /@
pnts]
]
]
Regards
Jens
"Jan Schmedes" <jasch at crustal.ucsb.edu> schrieb im
Newsbeitrag news:dspfv0$cgo$1 at smc.vnet.net...
| dear group,
|
| assume i have two contourplots. now i want to
display them both in 3D on
| the surface of a cube, e.g. one projected on the
front side and one
| projected on the top. How could i generate such
a plot (or more generall
| projected on a given plane, say z=const, in 3D)?
|
| thank you!!
|
| jan
|