plotReIm2: Plot real and imaginary part of f(x)

View source: R/plotReIm2.R

plotReIm2R Documentation

Plot real and imaginary part of f(x)

Description

plotReIm2(f, x) plots values of complex functions f in real arguments x or in ranges [xmin, xmax] with steps dx.

Usage

plotReIm2(
  f,
  x,
  title = "",
  xmin,
  xmax,
  dx = 0.1,
  xlab = "t",
  ylab = "f(t)",
  px = 0,
  py = 0,
  labelx = TRUE,
  labely = TRUE
)

Arguments

f

list of functions.

x

list of numerical values (numerical vectors).

title

an overall title for the plot.

xmin

vector of numbers, default values xmin = -1.

xmax

vector of numbers, default values xmax = 1.

dx

positive number, default value dx = 0.1.

xlab

a title for the x axis: see title.

ylab

a title for the y axis: see title.

px

numerical values (number or vector) in which are auxiliary lines on axis x rendered, default value px = 0.

py

numerical values (number or vector) in which are auxiliary lines on axis y rendered, default value py = 0.

labelx

rendering auxiliary line, default value TRUE.

labely

rendering auxiliary line, default value TRUE.

Details

Function with optional parameters must be pass as lambda function f = function(x) f(x, optional parameters).

Value

Graf of function f in argument x or in range [xmin, xmax] with step dx.

Note

Ver.: 22-Sep-2018 20:41:29.

See Also

Other Graphic Function: plotPolar(), plotReIm()


gajdosandrej/CharFunToolR documentation built on June 3, 2024, 7:46 p.m.