MathGroup Archive 2006

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

Search the Archive

Plot3D: plot does not display when PlotPoints different from 25. Mathematica 5.2


[This post has been delayed due to email problems - moderator]


Remove["Global`*"]

u[x_, y_] := Module[{},
    If[x == 0, Return[1 + y]];
    If[y == 0, Return[1]];
    Return[0];
]

Plot3D[u[x, y], {x, -1, 2}, {y, -1, 2},
  FaceGrids -> None,
  AxesLabel -> {"U(x,y)", "x", "y"},
  PlotLabel -> "Boundary conditions",
  PlotPoints -> 25]

works OK. But if you change 25 to say 26 in the last line above, the
plot does not show up any more !

Can someone explain why this is?

thanks,
Nasser Abbasi


  • Prev by Date: Format for prime decomposision
  • Next by Date: normalization and square roots
  • Previous by thread: Format for prime decomposision
  • Next by thread: Re: Plot3D: plot does not display when PlotPoints different from 25. Mathematica 5.2