powered by
Calculates contribution of harmonics to shape. The amplitude of every coefficients of a given harmonic is multiplied by the coefficients provided and the resulting shapes are reconstructed and plotted. Naturally, only works on Fourier-based methods.
hcontrib(Coe, ...)# S3 method for OutCoe hcontrib( Coe, id, harm.r, amp.r = c(0, 0.5, 1, 2, 5, 10), main = "Harmonic contribution to shape", xlab = "Harmonic rank", ylab = "Amplification factor", ... )
# S3 method for OutCoe hcontrib( Coe, id, harm.r, amp.r = c(0, 0.5, 1, 2, 5, 10), main = "Harmonic contribution to shape", xlab = "Harmonic rank", ylab = "Amplification factor", ... )
a plot
a Coe object (either OutCoe or (soon) OpnCoe)
Coe
OutCoe
OpnCoe
additional parameter to pass to coo_draw
coo_draw
the id of a particular shape, otherwise working on the meanshape
range of harmonics on which to explore contributions
a vector of numeric for multiplying coefficients
a title for the plot
a title for the x-axis
a title for the y-axis
Other Coe_graphics: boxplot.OutCoe()
boxplot.OutCoe()
data(bot) bot.f <- efourier(bot, 12) hcontrib(bot.f) hcontrib(bot.f, harm.r=3:10, amp.r=1:8, col="grey20", main="A huge panel")
Run the code above in your browser using DataLab