Plot 3D cubes (like voxels) with XYZ labels and different XYZ dimensions

771 Views Asked by At

What I want is very similar to the plot in this thread:

enter image description here

What I would like to have extra is:

  1. x,y,z dimension can be different. For example, x=[0,1,2,3], y=[200,300,400], z=[1000,2000,3000]

(edit:

  1. x,y,z can be different in both dimension and units. For example, x=[0,1], y=[200,300,400], z=[1000,2000,3000,4000])
  2. If it can allow me to add labels to XYZ axis, that would be perfect. (It is more of a extra requirement as I can manually edit the exported svg)

Effectively, what I want is like this: enter image description here

I found something close to what I want in another post: enter image description here

It uses the function Poly3DCollection. But I could not figure out how to select the elements such as surface x==0, the line (x==0) and (y==2). Nor do can I figure out how to change the label.

0

There are 0 best solutions below