Re: Vertical ContourPlot, please help!!!
- To: mathgroup at smc.vnet.net
- Subject: [mg42829] Re: Vertical ContourPlot, please help!!!
- From: Alois Steindl <Alois.Steindl at jet2web.cc>
- Date: Wed, 30 Jul 2003 19:30:15 -0400 (EDT)
- Organization: Inst. f. Mechanics II, TU Vienna
- References: <bg7ul5$hf0$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
cv97035 at central.ntua.gr (Alex Markatis) writes: > Hi everyone! > > If anyone can help me with this, I would appreciate it! > [...] > But I want to make a "vertical" contour graph. I want > to "cut" my f[x,y] surface with a family of vertical planes, that are > parallel to the y-z plane, and then project these curves to > the y-z plane. > > Any ideas on this??? Hello, It seems to me that you just want to plot the curves z=f[x,y] for fixed values of x. So you could either do something like Plot[{f[0,y], f[0.5, y], f[1, y]}, {y, 0, 1}] to get the projections in the y-z-plane, or something like p1 = Plot3D[f[x, y], {x, 0, 1}, {y, 0, 4\[Pi]}] p2 = ParametricPlot3D[{{0.2, y, f[0.2, y]}, {0.5, y, f[0.5, y]}, {0.8, y, f[0.8, y]}}, {y, 0, 4\[Pi]}] Show[p1,p2] to obtain the surface z=f[x,y] and the curves at fixed values drawn on it. It could be necessary to shift the curves a little bit so that they don't vanish beneath the surface. Good luck Alois