I tried an answer on the post here and I had an unwanted gap (see attached picture)

enter image description here Does anyone know how to avoid this gap?

  • $\begingroup$ try removing the option PlotRange from the definition of pltstyl (or change it to PlotRange -> All) $\endgroup$
    – kglr
    Sep 8, 2021 at 9:16
  • $\begingroup$ Thanks, It worked. I changed the limits of PlotRange to ->All. $\endgroup$
    – Thapanio
    Sep 8, 2021 at 10:10
  • 2
    $\begingroup$ Should I post a code for the solution? $\endgroup$
    – Thapanio
    Sep 8, 2021 at 10:13
  • 1
    $\begingroup$ Thapanio, that's a good idea. $\endgroup$
    – kglr
    Sep 8, 2021 at 10:40

1 Answer 1


With the help from @kglr, I managed to find a solution.

The main change to eliminate the gap PlotRange->All

data=any random matrix
ListPlot3D[data2,Mesh-> Full,InterpolationOrder->0,Filling->Bottom,

enter image description here


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