2
$\begingroup$

I have a function that produces something like that:

10^-8 (5.986357754778547 Sin[2 Pi x] Sin[7 Pi y] - 
        3.9800423510468493 Sin[4 Pi x] Sin[7 Pi y])

Then I tried to plot it:

Plot3D[10^-8 (5.986357754778547 Sin[2 Pi x] Sin[7 Pi y] - 
    3.9800423510468493 Sin[4 Pi x] Sin[7 Pi y])
 , {x, 0, 1}, {y, 0, 1}]

But there are some unexpected holes:enter image description here

How can I fix it?

$\endgroup$

1 Answer 1

4
$\begingroup$

Use PlotRange -> All:

Plot3D[10^-8 (5.986357754778547 Sin[2 Pi x] Sin[7 Pi y] - 
    3.9800423510468493 Sin[4 Pi x] Sin[7 Pi y]), {x, 0, 1}, {y, 0, 1},
  PlotRange -> All, PlotPoints -> 100]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.