What would be convenient to apply the position of the camera to a new plot. Therefore, I draw and then move the plot with the mouse, changing the distance. Then try to reproduce the view, including the distance in another area. I find that axx.ax.get_axes () returns me an object with old .azim and .elev.
IN PYTHON ...
axx=ax1.get_axes() azm=axx.azim ele=axx.elev dst=axx.dist
Late 3D chart ...
ax2.view_init(elev=ele, azim=azm)
EDIT 1 ... OK, the camera position is the wrong way of thinking about the value of .dist. It surpasses everything as a kind of scanning hacks for the entire graph.
This works to enlarge / scale the view:
xlm=ax1.get_xlim3d()
Late schedule ...
ax2.view_init(elev=ele, azim=azm)
user1469620 Sep 15 '15 at 23:25 2015-09-15 23:25
source share