# TopLevelDrawFunctionsForPointsΒΆ

TopLevelDrawFunctionsForPoints provides top level functions for drawing curves and surfaces described by sets of points.

- draw: (List DoubleFloat, List DoubleFloat) -> TwoDimensionalViewport
`draw(lx, ly)`

plots the curve constructed of points (`x`

,`y`

) for`x`

in`lx`

for`y`

in`ly`

.

- draw: (List DoubleFloat, List DoubleFloat, List DoubleFloat) -> ThreeDimensionalViewport
`draw(lx, ly, lz)`

draws the surface constructed by projecting the values in the`lz`

list onto the rectangular grid formed by the`lx X ly`

.

- draw: (List DoubleFloat, List DoubleFloat, List DoubleFloat, List DrawOption) -> ThreeDimensionalViewport
`draw(lx, ly, lz, l)`

draws the surface constructed by projecting the values in the`lz`

list onto the rectangular grid formed by the The options contained in the list`l`

of the domain`DrawOption`

are applied.

- draw: (List DoubleFloat, List DoubleFloat, List DrawOption) -> TwoDimensionalViewport
`draw(lx, ly, l)`

plots the curve constructed of points (`x`

,`y`

) for`x`

in`lx`

for`y`

in`ly`

. The options contained in the list`l`

of the domain`DrawOption`

are applied.

- draw: (List Point DoubleFloat, List DrawOption) -> TwoDimensionalViewport
`draw(lp, l)`

plots the curve constructed from the list of points`lp`

. The options contained in the list`l`

of the domain`DrawOption`

are applied.

- draw: List Point DoubleFloat -> TwoDimensionalViewport
`draw(lp)`

plots the curve constructed from the list of points`lp`

.