bugfix: plotpolyf() passed a data.frame of coordinates to f instead of a matrix as documented