Learn R Programming

CharFun (version 0.1.0)

plotGraf: Plot Graf f(x)

Description

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

Usage

plotGraf(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 line on axis x render default value \(px = 0\)
py
numerical values (number or vector) in which are auxiliary line on axis y render default value \(py = 0\)
labelx
rendering auxiliary line default value TRUE
labely
rendering auxiliary line default value TRUE

Value

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

Details

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