I have 4D data that I would like to visualize specific 3D contours for. I have found that using this command

ListContourPlot3D[data, Contours -> 5, Mesh -> None, PlotLegends -> "Expressions"]

gives me a decent graph and indicates the contours on the side. enter image description here

However, I don't want these contours to be picked automatically I would like to pick the values on my own. I've been through the documentation and it seems like there's an easy way to do this for the 2D contour case but I can't seem to figure out how it would work here for the 3D case. My data is of the form {x,y,z,value}. Please let me know if any data is needed here. I felt this was a more general question so I left it out.


1 Answer 1


Figured it out. For anyone else who needs this

ListContourPlot3D[data, Contours -> {val1,val2}, Mesh -> None,  PlotLegends -> "Expressions"]

does the trick


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.