I was watching this video: https://youtu.be/T647CGsuOVU?t=113
and I wanted to be able to graph the function $x^2+1$ as they have in the video (the link takes you to the moment when the graph is shown). The graph was what I found an interesting way of what the function would look like over the complex plane.
Essentially, I'd like to try and get some visual representations of the complex roots of the function. How could I go about this with matlab or geogebra (preferably the latter)?


It's impossible since you have to convert the function $f\colon \mathbb{C}\to\mathbb{C}$ to a function $f\colon \mathbb{R}^2\to\mathbb{R}^2$. If you find out how to draw this, please let me know ;).