Skip to content

giochanturia/complex-plotting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complex plotting

This is a mini project that allows one to plot complex functions. The syntax is

import ComplexPlotting as CP

# Create meshgrids z_RE and z_IM, define a complex function.

CP.plot_complex(z_RE, z_IM, function(z_RE + 1j * z_IM))

Examples

One of the most straightforward examples is the square root, which has a branch cut in a certain direction on the complex plane (depending on your convention).

sqrt_z_I

The branch cut moves us to the second Riemann sheet, which is plotted below.

sqrt_z_II

Another interesting function is the logarithm.

log_z_I

Unlike the square root, logarithm has infinite amount of Riemann sheets, each obtained by adding/subtracting $2\pi i$ sequentially.

log_z_II

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published