Here is my first attempt to draw a surface and a plane on the same axes using mplot3d.
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
import matplotlib.pyplot as plt
import numpy as np
ax = Axes3D(fig)
x, y = np.meshgrid(x,y)
The difficulty comes when I rotate the axes with the mouse. You cannot tell where the correct position of the plane is as you can when rotating a similar figure in Matlab. Is this a bug or a feature yet to be added? Is there a workaround I am not aware of at this early stage?
College of the Redwoods
Department of Mathematics