Checking equations of horizontal and vertical lines

Here’s a method for graphing using xyLine in the graph CL:

input=`${yourInputName.latex}`
myLine=xyLine(input)
function(`f`): when myLine.isVertical simpleFunction(`1/0`) otherwise simpleFunction(input)
function(`g`): when myLine.isVertical simpleFunction(input,"y") otherwise simpleFunction(`1/0`)

In the graph you’ll need:

y=f(x)
x=g(y)