marcomusy / vedo

A python module for scientific analysis of 3D data based on VTK and Numpy
https://vedo.embl.es
MIT License
1.98k stars 257 forks source link

How to show import window in multiple renderer ? #1126

Closed OhmPuchiss closed 2 weeks ago

OhmPuchiss commented 1 month ago

image I try to import the windowfrom npz file and I want to show it on the plt.at(1). What should I do ?

OhmPuchiss commented 1 month ago

I got it. Use get_mesh and extract it to plt.at(1)

OhmPuchiss commented 1 month ago

How to add axis to specific plot like plt.at(1) ?

marcomusy commented 1 month ago

You can create an Axes object explicitly and add it to the renderer you like:

axes = Axes(some_mesh)
plt.at(1).add(axes)
plt.show()