Code covered by the BSD License  

Highlights from
dcolor

Be the first to rate this file! 17 Downloads (last 30 days) File Size: 9.04 KB File ID: #29028
image thumbnail

dcolor

by John Barber

 

14 Oct 2010 (Updated 15 Feb 2011)

Display complex-valued data using domain coloring

| Watch this File

File Information
Description

DCOLOR uses a coloring function to map the angle and modulus of complex data to color. This technique is known as domain coloring, and is an excellent tool to explore the behavior of complex-valued functions.

DCOLOR can produce plots using either a complex matrix or a function handle as the source data. There are several built-in coloring functions as well as the option to supply a user-defined coloring function as a function handle. Additionally, the 'grid' option can create contours of the real and imaginary parts of the complex data. See the help text for details and usage examples.

The following references have more information about visualizing complex-valued functions using domain coloring, including example images:

http://www.maa.org/pubs/amm_complements/complex.html

http://www.math.liu.se/~halun/complex/domain_coloring-unicode.html

http://www.mathworks.com/company/newsletters/news_notes/clevescorner/summer98.cleve.html

http://commons.wikimedia.org/wiki/User:Jan_Homann/Mathematics

http://www1.american.edu/academic.depts/cas/mathstat/People/lcrone/ComplexPlot.html

http://en.wikipedia.org/wiki/Domain_coloring

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Shaded pseudo color, domain coloring

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
30 Nov 2010

- Added ability to supply function handle to calculate W
- Added new coloring functions
- Added grid option
- Reduced memory usage
- Renamed from cplxpcolor.m to dcolor.m

15 Feb 2011

- Added option to return image color data as a matrix of RGB values

Tag Activity for this File
Tag Applied By Date/Time
plotting John Barber 14 Oct 2010 13:28:48
complex visualization John Barber 14 Oct 2010 13:28:48
pcolor John Barber 14 Oct 2010 13:28:48
specialized plotting John Barber 14 Oct 2010 13:28:48
complex numbers John Barber 14 Oct 2010 13:28:48
visualization John Barber 14 Oct 2010 13:28:48
graphics John Barber 14 Oct 2010 13:28:48
domain coloring John Barber 01 Dec 2010 15:42:44

Contact us at files@mathworks.com