Re: Plot3D confusion
- To: mathgroup at smc.vnet.net
- Subject: [mg38626] Re: [mg38609] Plot3D confusion
- From: Jan Mangaldan <hokenjan at yahoo.com>
- Date: Wed, 1 Jan 2003 03:40:03 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Put a space between "I" and "y". Is it working now? Good. Jan M. (~_~) Warren Rogers <wrx at cruzio.com> wrote: I'm confused here. If I try the following command Plot3D[Abs[1+(x+Iy)^3],{x,-1.25,1.25},{y,-1.25,1.25},PlotPoints->40,Mesh->False,FaceGrids->All] I get a nice 3D plot of a surface that has dimples where the complex zeros are. BUT If I try the following: f[x_,y_]:=Abs[1+(x+Iy)^3] Plot3D[f[x,y],{x,-1.25,1.25},{y,-1.25,1.25},PlotPoints->40,Mesh->False,FaceGrids->All] Mathematica refuses to plot it at all giving me at least half a dozed incomprehensible error messages. I imagine I'm using some sort of wrong convention but damned if I can figure it out. I'm using Mathematica 3.0 on a Mac clone (PowerTower Pro with G3 accelerator) running OS 8.6. I'd be most grateful for any help. thanks, Warrne Rogers