data(bot)
coo <- bot@coo[[1]]
coo.plot(coo)
tf <- tfourier(coo, 12)
tf
tfi <- tfourier.i(tf)
l2m(tfi)
coo.draw(tfi, border="red", col=NA) # the outline is not closed...
coo.draw(tfourier.i(tf, force2close=TRUE), border="blue", col=NA) # we force it to close.
Run the code above in your browser using DataLab