plpgon
plot (filled) polygon
parameter | type | units | description |
---|---|---|---|
x,y | float* | uu | arrays with datapoint coordinates in user units |
n | int | number of datapoints | |
linetype | int | line format used for outline (see plot) | |
returns: | void |
Description
plpgon plots a filled and outlined polygon.Examples
plinit PS plpgon A4 50 50 "" "" plrdx 4 0 10 10 0 plrdy 4 0 0 10 10 plpgon 4 DOWN 1 plmvorgm 10 10 plpgon 4 DOWN 0 plrdx 4 3 3 7 7 plrdy 4 3 7 7 3 plpgon 4 DOWN 1 plmvorgm 10 10 plrdx 4 0 10 10 0 plrdy 4 0 0 10 10 plpgon 4 DOWN 0 plrdx 4 3 7 7 3 plrdy 4 3 3 7 7 plpgon 4 DOWN 1