View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Phase Plots of Complex Functions

5.0 | 5 ratings Rate this file 14 Downloads (last 30 days) File Size: 18 KB File ID: #44375 Version: 1.2
image thumbnail

Phase Plots of Complex Functions



18 Nov 2013 (Updated )

Routines for creating color representations of complex functions (phase plots)

| Watch this File

File Information

The ZIP-file provides several routines for creating color representations of complex (in particular analytic and meromorphic) functions.

Basically the argument (phase) of the function is encoded by a circular (hsv) color scheme and displayed directly on the domain of the function. The phase plot depicts clearly the location of zeros, poles, saddle points (zeros of the derivative), and essential singularities. Several modifications of the color scheme allow to incorporate additional information, like the modulus of the function.

The user must provide a field (matrix) of complex numbers z which covers the domain (typically a rectangle, a disk or an annulus) of the function, and a field of the same size with the corresponding values w=f(z). Then call


to create a phase plot of f on the domain of z. Try PPDemo to see a number of examples with different color options.

Version 2.3 comes with a graphical user interface (by Frank Martin) which allows easy control of color options (including coloring according to the NIST standard) and other parameters.

The screenshot shows a phase plot of a so-called atomic singular inner function, which has five essential singularities sitting at the fifth roots of unity.

For further information and a gallery of phase plots visit


This file inspired Complex Function Explorer.

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
27 Nov 2014 Kevin

Kevin (view profile)

Outstanding and a good educational tool. Thanks.

15 Oct 2014 Mohamed Nasser

20 Sep 2014 MARIANA

14 Apr 2014 Reg Shoe

08 Dec 2013 Fan D.Chen

This code (PhasePlot(z,w);)is perfect, I have to say, thank you

16 Jan 2014 1.2

added graphical user interface, extended Demo, improved color options, included color schemes conformal to the NIST standard

Contact us