How to draw the figure of $\frac{x-1}{2}=\frac{y-1}{3}=\frac{z-2}{3}$-type straight line

Discussion in 'Mathematics' started by Ordinary users68, Aug 2, 2020 at 2:25 AM.

1. Ordinary users68Guest

I'd like to draw the straight line that is expressed in symmetrical form directly: $\frac{x-1}{2}=\frac{y-1}{3}=\frac{z-2}{3}$

ContourPlot3D[(x - 1)/2 == (y - 1)/3 == (z - 2)/3, {x, -5, 5}, {y, -5,
5}, {z, -5, 5}, BoxRatios -> Automatic]

But I can't get the correct result with the above code. How can I draw this line directly?

In addition, $\frac{x-1}{2}=\frac{y-1}{3}=2$ should represent a vertical line, which I hope can be drawn by built-in or custom functions.