How to visualize a matrix as an array of 3d blocks?

I would like visualize this dataset:
plot1

as an array of 3d blocks / cuboids, whose height scales with the value of the element. It should result in the following picture:
plot2

Is it possible to do this in ParaView?
I tried using the filters Cell Data To Point Data + Warp By Scalar, but then I get a continuously deformed surface.

Attached is a text file with data: data.dat (1.9 KB)

If this is for visualization purpose only, Extrusion Surface seems to do the trick :
extrusion

  • Tools -> Manage Plugin -> Embossing Representations -> Load
  • Create a new view
  • Show your dataset
  • Switch to “Extrusion Surface” representation
2 Likes