Skip to content
This repository was archived by the owner on May 21, 2020. It is now read-only.
Florian Rappl edited this page Dec 21, 2014 · 2 revisions

cplot

In mathematics, a complex function is a function with the complex numbers (see the imaginary numbers and the complex plane) as both its domain and codomain. The complex plot assigns a color to each point of complex plane. the origin is white, 1 is red, −1 is cyan, and a point at the infinity is black.

cplot(f)

Visualizes the given complex function f between -1 and 1 for the real and the imaginary axes.

Argument f

Function

Returns 1. entry

ComplexPlot

Example

cplot(sin)

Draws the complex plot of the sine function sin(z) with z = x + iy.

Example

cplot(z => sin(z) * cos(z))

Draws the complex plot of sin(z) * cos(z) with z = x + iy.

cplot(f,min,max)

Visualizes the given complex function f between the given values for the real and the imaginary axes.

Argument f

Function

Argument min

Scalar

Argument max

Scalar

Returns 1. entry

ComplexPlot

Example

cplot(sin, 0 - 1i, 2 * pi + 1i)

Draws the complex plot of the sine function between 0 and 2pi on the real axis and -1 and 1 on the imaginary axes.

cplot(f,minX,maxX,minY,maxY)

Visualizes the given complex function f between the given values for the real and the imaginary axes.

Argument f

Function

Argument minX

Scalar

Argument maxX

Scalar

Argument minY

Scalar

Argument maxY

Scalar

Returns 1. entry

ComplexPlot

Example

cplot(sin, 0, 2 * pi, -1, 1)

Draws the complex plot of the sine function between 0 and 2pi on the real axis and -1 and 1 on the imaginary axes.

Clone this wiki locally