draw.Drawing.line
draw.Drawing: D = line (D, P1, P2)
Append straight line segments from P1 to P2.
P1 and P2 are N-by-2 matrices in millimetres, one line per row; zero rows append nothing. A zero-length line is an error rather than an invisible entity in the output, and the error names its row.
D = draw.Drawing ().line ([0, 0; 0, 10], [40, 0; 40, 10]); |
Source Code: draw.Drawing