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 2004

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

Search the Archive

Re: Newbie Question -- Plot3d::plnc

  • To: mathgroup at
  • Subject: [mg52734] Re: [mg52698] Newbie Question -- Plot3d::plnc
  • From: "Caffa Vittorio Dr." <Caffa at>
  • Date: Sat, 11 Dec 2004 05:21:46 -0500 (EST)
  • Sender: owner-wri-mathgroup at

   Plot3D[xtimesy[x y], {x, -5, 5}, {y, -5, 5}]
   Plot3D[xtimesy[x, y], {x, -5, 5}, {y, -5, 5}]

Cheers, Vittorio

-----Original Message-----
From: jujubaby at [mailto:jujubaby at] 
To: mathgroup at
Subject: [mg52734] [mg52698] Newbie Question -- Plot3d::plnc

X-No-Archive: Yes

When I enter the following two statements into Mathematica 5:

xtimesy[x_, y_] := x*y;
Plot3D[xtimesy[x y], {x, -5, 5}, {y, -5, 5}]

I receive a huge cascade of errors, all of this form:

Plot3D::plnc: xtimesy[x\y] is neither a machine-size real number at \
{x,y}={-5.,-5.} nor a list of a real number and a valid color

What am I doing wrong?



  • Prev by Date: Re: Mathematica 5.1 Integrals
  • Next by Date: Suse 9.2 + mathematica 5.0 problem
  • Previous by thread: Re: Newbie Question -- Plot3d::plnc
  • Next by thread: Re: Newbie Question -- Plot3d::plnc