Open crazyfireji opened 1 year ago
And I also want to make the axis scale align with the box, and don't display the xgrid and ygrid.
[This example] shows how you can hook volumeslices
up to a slider. As for the axis scale - you should look at the Axis3 docs!
Basically you can update the positions by plt[:update_yz][](v)
where v
is the value you want the slice to be at. It's not really documented, which we should fix...
You can change the location of the full plot by adjusting x, y, z or using translate
and the docs show you a way to grab different planes. That leaves giving the option to make an LScene axis (or Axis3) tight to the volumeslices bbox.
such as, I want to make the slices in the middle of the fig.