simple question regarding Wolfram Mathematica:

Why is the plot not showing? (See screenshot)

enter image description here

(I am new to Wolfram Mathematica)

Thankful for any input.

  • $\begingroup$ Isn't there a mathematica stack? $\endgroup$
    – Randall
    Feb 15 at 17:46
  • $\begingroup$ Works when I tried it, here $\endgroup$
    – lulu
    Feb 15 at 17:46
  • 5
    $\begingroup$ Because you wrote $xy$ when you should have written $x\ y$ or $x*y$. $\endgroup$ Feb 15 at 17:48
  • 4
    $\begingroup$ Following up on José Carlos Santos' comment: the colors of the variables is a clue. Notice that the $x$ and $y$ are a different color from the $xy$. The $x$ and $y$ are set by the iteration structures, whereas $xy$ is an unknown. $\endgroup$
    – robjohn
    Feb 15 at 17:54
  • $\begingroup$ When I wrote plot3d [x^3-6xy+y^3,{x,0,4},{y,0,4}] it worked fine. $\endgroup$
    – lulu
    Feb 15 at 18:25


You must log in to answer this question.