4
$\begingroup$

I want to plot $y=z$ with $x=1$ in three dimensional plot. How can one do this in Mathematica?

$\endgroup$
1
  • $\begingroup$ I find it so weird (wrong?) that RegionPlot3D does not do the job here. For starters, RegionPlot3D does not accept a region as an argument, and expects only a "logical combination of inequalities". Furthermore, "RegionPlot3D can in general only find regions of positive measure; it cannot find regions that are just lines or points.". So it's useless for this 1D region in 3D space. $\endgroup$
    – rhermans
    Jul 22 at 10:18

2 Answers 2

4
$\begingroup$
Region[ImplicitRegion[{y == z, x == 1}, {x, y, z}], 
 BaseStyle -> {Thick, Red}, Boxed -> True]

enter image description here

$\endgroup$
3
$\begingroup$

That would be a line. You can plot it like so:

max = 5;
ParametricPlot3D[{1,t,t},{t,-max,max},AxesLabel->{"x","y","z"}]
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.