- #1
euthymos
- 3
- 0
Is there any way, in Mathematica, I can plot a straight line in a 3D plot environment?
For example: Plot3D[{{y = 1 - x, z = y - 1}}, {x, -5, 5}, {y, -5, 5}]
plots two surfaces, not their intersection (which is a straight line).
Thank you in advance.
For example: Plot3D[{{y = 1 - x, z = y - 1}}, {x, -5, 5}, {y, -5, 5}]
plots two surfaces, not their intersection (which is a straight line).
Thank you in advance.