Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Display of 3D contours in 2D

  • To: mathgroup at
  • Subject: [mg4309] Re: Display of 3D contours in 2D
  • From: Xah Lee <xah at>
  • Date: Tue, 9 Jul 1996 00:48:15 -0400
  • Organization: Best Internet Communications
  • Sender: owner-wri-mathgroup at

DR JOHN C ERB wrote:
> If indeed the graphic is 2D contours displayed on 2 perpendicular
> planes, can anyone tell me how I can do this?

Replace your 2D points by 3D points. Example,

contour1 = First@ Graphics@ ContourPlot[ x y, {x,-1,1},{y,-1,1},

contour2 = First@ Graphics@ ContourPlot[ x^2+y^2,
	{x,-1,1}, {y,-1,1},
	ContourLines->True, ContourShading->False

contour1 = contour1 /. {x_?AtomQ, y_?AtomQ} ->{x,0,y};
contour2 = contour2 /. {x_?AtomQ, y_?AtomQ} ->{0,x,y};

	Graphics3D[{contour1, contour2}

 xah at; 74631.731 at
 Mountain View, CA, USA


  • Prev by Date: Re: Display of 3D contours in 2D
  • Next by Date: distance learning
  • Previous by thread: Re: Display of 3D contours in 2D
  • Next by thread: distance learning