MathGroup Archive 1996

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

Search the Archive

Re: Display of 3D contours in 2D


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},
	AspectRatio->Automatic,
	ContourShading->False
];0;

contour2 = First@ Graphics@ ContourPlot[ x^2+y^2,
	{x,-1,1}, {y,-1,1},
	AspectRatio->Automatic,
	PlotRange->All,
	ContourLines->True, ContourShading->False
];0;

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

Show[
	Graphics3D[{contour1, contour2}
	]
];0;

 Xah
 xah at best.com; 74631.731 at compuserve.com
 http://www.best.com/~xah/SpecialPlaneCurves_dir/specialPlaneCurves.html
 Mountain View, CA, USA

==== [MESSAGE SEPARATOR] ====


  • 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