Skip to content

f_ComplexPlot

rasberry edited this page Mar 5, 2026 · 1 revision

ComplexPlot

Usage

 Fills an image with the values of a given polynomial in the complex plane
 -e (text)                    Math expression evaluated at each pixel
 -rx (start,end)              Horizontal range of window (default -2.0,2.0)
 -ry (start,end)              Vertical range of window (default -2.0,2.0)
 -f (number)                  Apply flattening to magnitude with given strength (default 2.0)
 -go (number)                 Gradient offset 0.0 to 1.0 (default 0.0)
 -gs (number)                 Scale gradient by specified multiple (default 2.0)
 -mo                          Use only magnitude for coloring
 -po                          Use only phase for coloring
 --gradient (name)            Use a (registered) gradient

Examples

Images
-e (z^2+2i)/(z-1-i) ComplexPlot-0
-e (z^2+2i)/(z-1-i) --gradient Gimp Tube Red -gs 4 -go 0.5 ComplexPlot-1
-e (z^2+2i)/(z-1-i) --gradient Gimp Tube Red -gs 4 -mo ComplexPlot-2
-e (z^2+2i)/(z-1-i) -f 1.0 ComplexPlot-3
-e (z^2+2i)/(z-1-i) -mo ComplexPlot-4
-e z^3+z^2+z+1 ComplexPlot-5
-e z^3+z^2+z+1 -rx -4,4 -ry -4,4 ComplexPlot-6
-e z^3+z^2+z+1 -po ComplexPlot-7

Clone this wiki locally