50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


Momocs (version 0.1-01)

draw.Fell: Draws "Fourier Ellipses".

Description

Calculates and draws a "Fourier Ellipse" corresponding to the harmonic coefficients provided

Usage

draw.Fell(an = pi, bn = -pi, cn = pi, dn = pi,
			n = 200, cols = topo.colors, title = FALSE)

Arguments

an
a numeric corresponding to the $a_n$ harmonic coefficient
bn
a numeric corresponding to the $b_n$ harmonic coefficient
cn
a numeric corresponding to the $c_n$ harmonic coefficient
dn
a numeric corresponding to the $d_n$ harmonic coefficient
n
integer indicating how many points to retrieve from outline reconstruction
cols
a color palette such as topo.colors, or those produced by colorRampPalette
title
integer indicating whether to add a title to the plot

Examples

Run this code
draw.Fell()
draw.Fell(2*pi, -pi, pi, 3*pi, title=TRUE)

Run the code above in your browser using DataLab