View source: R/mplot3_harmonograph.R
mplot3_harmonograph | R Documentation |
Plot a harmonograph
mplot3_harmonograph(
steps = seq(1, 500, by = 0.01),
seed = NULL,
col = "white",
alpha = 0.2,
bg = "black",
lwd = 1,
text = NULL,
text.side = 1,
text.line = -1,
text.adj = 0,
text.padj = 0,
text.col = NULL,
mar = c(0, 0, 0, 0),
oma = c(0, 0, 0, 0),
xlim = NULL,
ylim = NULL,
new = FALSE,
par.reset = TRUE
)
steps |
Float, vector |
seed |
Integer |
col |
Line color. Default = "white" |
alpha |
Alpha for line color |
bg |
Color for background. Default = "black" |
lwd |
Float: Line width |
text |
Character: Text you want printed along with the harmonograph. Default = NULL |
text.side |
Integer 1, 2, 3, 4: |
text.line |
Float: |
text.adj |
Float: |
text.padj |
Float: |
text.col |
Color: Text color. Default is same as |
mar |
Float vector, length 4: Plot margins. ( |
oma |
Float vector, length 4: Outer margins. ( |
xlim |
Float vector, length 2: x-axis limits |
ylim |
Float vector, length 2: y-axis limits |
new |
Logical. If TRUE, do not clear plot before drawing |
par.reset |
Logical. If TRUE, reset par before exit |
Unless you define a seed, each graph will be random. Try different seeds if you want to reproduce your graphs. Some seeds to try: 9, 17, 26, 202, 208, ...
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.