Previous Up Next

3.5.1  Draw a line : line

See also : ?? and ?? for line usage in geometry and see ?? and ?? for axis.
line takes as argument cartesian(s) equation(s) :

line defines and draws the corresponding line.
Input :

line(2*y+x-1=0)

Output :

the line 2*y+x-1=0

Input :

line(y=1)

Output :

the horizontal line y=1

Input :

line(x=1)

Output :

the vertical line x=1

Input :

line(x+2*y+z-1=0,z=2)

Output :

the line x+2*y+1=0 in the plane z=2

Input :

line(y=1,x=1)

Output :

the vertical line crossing through (1,1,0)

Remark
line defines an oriented line :


Previous Up Next