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

View source: R/plotReIm.R

plotReImR Documentation

Plot real and imaginary part of f(x)

Description

plotReIm(f, x, xmin, xmax) plots values of complex function f in real arguments x or in range [xmin, xmax] with step dx.

Usage

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

Arguments

f

function.

x

numerical values (number or vector).

title

an overall title for the plot.

xmin

number, default value xmin = -1.

xmax

number, default value 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:32:20.

See Also

Other Graphic Function: plotPolar(), plotReIm2()


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