MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: graphing x^2+4 on x, y, and i

  • To: mathgroup at
  • Subject: [mg61838] Re: graphing x^2+4 on x, y, and i
  • From: Scott Hemphill <hemphill at>
  • Date: Tue, 1 Nov 2005 00:39:25 -0500 (EST)
  • References: <djv2un$oal$>
  • Reply-to: hemphill at
  • Sender: owner-wri-mathgroup at

thomas <likothecat at> writes:

> Hi,
> Is it possible to make a 3d type of graph using the x, y, and i axes
> for the equation y = x ^ 2 + 4?

I use something like:

Plot4D[f_, {x_, xmin_, xmax_}, {y_, ymin_, ymax_}, opts___] :=
   Plot3D[{Abs[f], Hue[Arg[f]/(2*Pi)]}, {x, xmin, xmax}, {y, ymin, ymax},

This function plots the absolute value of the complex function as the height,
and the argument as the hue.


z = (x+I*y)


The zeros can be identified by the kinks in the surface, and they are also
identified as the places which are surrounded by all the hue colors.

Scott Hemphill	hemphill at
"This isn't flying.  This is falling, with style."  -- Buzz Lightyear

  • Prev by Date: Re: problem with making boxes
  • Next by Date: Re: call notebook
  • Previous by thread: Re: Integration over polytop
  • Next by thread: Re: Re: graphing x^2+4 on x, y, and i