# How to make this figure

**URL:** <https://discourse.julialang.org/t/how-to-make-this-figure/70051>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [October 19, 2021, 4:17pm UTC](https://discourse.julialang.org/t/how-to-make-this-figure/70051 "2021-10-19T16:17:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marianoarnaiz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marianoarnaiz/32/19377_2.png) [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Post date:** [October 19, 2021, 4:17pm UTC](https://discourse.julialang.org/t/how-to-make-this-figure/70051/1 "2021-10-19T16:17:32Z")

</div>

Hi all… I have a 4D matrix (X,Y,Z,P) and I need to make a figure with slices and isosurfaces… something like the plot bellow. Any idea how to a figure like this in Julia?

 ![40623_2018_941_Figa_HTML](https://global.discourse-cdn.com/julialang/original/3X/e/2/e241b0d6d48aec1b67fc84b2ba62e80e7d8cb317.webp)

---

<div class="post-metadata">

**Author:** ![MatFi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matfi/32/10002_2.png) [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Post date:** [October 19, 2021, 6:40pm UTC](https://discourse.julialang.org/t/how-to-make-this-figure/70051/2 "2021-10-19T18:40:23Z")

</div>

I think Plotly.js is capable of doing such volume plots see this example:  
[https://plotly.com/julia/3d-volume-plots/](https://plotly.com/julia/3d-volume-plots/)
