Plotting complex valued functions


I've written two plot scripts for plotting functions f: R -> C.
(Scalar mappings of a real to a complex domain.)

The function plotcf(...) plots the modulus
as y value and the phase as color code.

The function stemcf(...) does the same, but
emulates a stem plot.

I attached also two demo scripts that show these
functions in action.

If you have any questions or improvements,
please tell me.

Feel free to add these scripts to the gallery
if you think they could be of a broader

-- Raoul (1.69 KB) (2.15 KB) (492 Bytes) (502 Bytes)