Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Re: Plot3D error

  • To: mathgroup at
  • Subject: [mg7342] Re: [mg7322] Plot3D error
  • From: Richard Finley <trfin at>
  • Date: Tue, 27 May 1997 22:27:23 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


The problem is that there are 3 different roots of your equation since it is
a cubic root, and some of the roots are imaginary. These obviously cannot be
plotted in real space.  To get Mma to default to the real roots only you can


prior to plotting and it will work correctly.


At 02:23 AM 5/23/97 -0400, you wrote:
>Hello everybody.
>Can anyone tell me what's wrong?
>Plot3D[(1+2 x+y^2)^(1/3),{x,-10,10},{y,-10,10}]
>gives me error:  Plot3D::gval: Function value 0.4+0.7I at grid point
>not real
>And function is not completely plotted.
>Any suggestion would be appreciated.
>Karl Kevala

  • Prev by Date: Re: Plot3D error
  • Next by Date: All involutions of a permutation
  • Previous by thread: Re: Plot3D error
  • Next by thread: Re: Plot3D error