mplot3_harmonograph: Plot a harmonograph

View source: R/mplot3_harmonograph.R

mplot3_harmonographR Documentation

Plot a harmonograph

Description

Plot a harmonograph

Usage

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
)

Arguments

steps

Float, vector

seed

Integer

col

Line color. Default = "white"

alpha

Alpha for line color col. Default = .2

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: side argument for mtext

text.line

Float: line argument for mtext

text.adj

Float: adj argument for mtext

text.padj

Float: padj argument for mtext

text.col

Color: Text color. Default is same as col

mar

Float vector, length 4: Plot margins. (par's mar argument)

oma

Float vector, length 4: Outer margins. (par's oma argument)

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

Details

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, ...

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Nov. 22, 2024, 4:12 a.m.