Learn R Programming

mathart (version 0.0.0.9000)

lissajous: Generate Lissajous data

Description

Generates data for plotting Lissajous curves and stores it in a data frame with (x, y) coordinates. Refer to the Wikipedia article for details.

Usage

lissajous(a = 1, b = 1, A = 1, B = 1, d = 200, delta = 0.01 * pi)

Arguments

a

<- Parameter

b

<- Parameter

A

<- Parameter

B

<- Parameter

d

<- Parameter

delta

<- Timestep

n

The number of points to generate

Examples

Run this code
# NOT RUN {
lissajous()
# }

Run the code above in your browser using DataLab