Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65730] Plot3D: plot does not display when PlotPoints different from 25. Mathematica 5.2
  • From: nma at 12000.org
  • Date: Sun, 16 Apr 2006 03:49:02 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

[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