I want to plot $y=z$ with $x=1$ in three dimensional plot. How can one do this in Mathematica?
2 Answers
That would be a line. You can plot it like so:
max = 5;
ParametricPlot3D[{1,t,t},{t,-max,max},AxesLabel->{"x","y","z"}]
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityI want to plot $y=z$ with $x=1$ in three dimensional plot. How can one do this in Mathematica?
That would be a line. You can plot it like so:
max = 5;
ParametricPlot3D[{1,t,t},{t,-max,max},AxesLabel->{"x","y","z"}]
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$