Two Z axes for 3D plot using matplotlib

Viewed 1046

I'm trying to plot using plot_trisurf, using the following code :

fig = plt.figure()
ax = fig.gca(projection='3d')
ax.plot_trisurf(X1,Y1,Z1)
ax.plot_trisurf(X2,Y2,Z2)

The scale of Z1 and Z2 is different by several magnitudes.

How do I share the X and Y axis, but not the Z ?

In 2D I had the function "twinx()", but I can't find a solution for 3D.

0 Answers
Related