ref: 29bef5a7f30fb237b1e3ea5fac1be2eb1d2cf5cd
dir: /sys/src/cmd/plot/libplot/poly.c/
#include "mplot.h"
void plotpoly(int num[], double *ff[]){
double *xp, *yp, **fp;
int i, *n;
n = num;
fp = ff;
while((i = *n++)){
xp = *fp++;
yp = xp+1;
move(*xp, *yp);
while(--i){
xp += 2;
yp += 2;
vec(*xp, *yp);
}
}
}