You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cplot uses OKLAB, a perceptually
uniform color space for the argument colors.
This avoids streaks of colors occurring with other color spaces, e.g., HSL.
The contour abs(z) == 1 is emphasized, other abs contours are at 2, 4, 8, etc. and
1/2, 1/4, 1/8, etc., respectively. This makes it easy to tell the absolte value
precisely.
For arg(z) == 0, the color is green, for arg(z) == pi/2 it's blue, for arg(z) = -pi / 2 it's orange, and for arg(z) = pi it's pink.
Other useful functions:
# There is a tripcolor function as well for triangulated 2D domainscplot.tripcolor(triang, z)
# The function get_srgb1 returns the SRGB1 triple for every complex input value.# (Accepts arrays, too.)z=2+5jval=cplot.get_srgb1(z)
Riemann sphere
cplot can also plot functions on the Riemann
sphere, a mapping of the complex
plane to the unit ball.
This software is published under the GPL-3.0 license. In cases where the
constraints of the GPL prevent you from using this software, feel free contact the
author.