Skip to content

Instantly share code, notes, and snippets.

@theogf
Last active March 31, 2020 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theogf/e1d7db52c354beaecd8f64d49b202278 to your computer and use it in GitHub Desktop.
Save theogf/e1d7db52c354beaecd8f64d49b202278 to your computer and use it in GitHub Desktop.
using Plots; pyplot()
N = 100
x = range(-3, 3, length=N)
f1(x, y) = begin z = Complex(x, y); abs(z^z); end
f2(x, y) = begin z = Complex(x, y); angle(z^z); end
surface(x, x, f1.(x, x'), fill_z = f2.(x, x'), clims = (-pi, pi), color = :colorwheel)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment