def plot(self, filename=None, include_rotation=True):
        
        return plot(self, filename, include_rotation)
        
        
        ##try:
            ##from mayavi import mlab
        ##except ImportError:
            ##raise ImportWarning("mayavi is not available.")
            ##return
        
        #phi = np.linspace(-np.pi, +np.pi, 50)
        #theta = np.linspace(0.0, np.pi, 50)
        
        #theta_n, phi_n = np.meshgrid(theta, phi)    # Create a 2-D mesh
    
        #d = self._directivity(theta_n, phi_n.ravel)
        
        ##fig = plt.figure()
        ##ax0 = fig.add_subplot(111, projection='3d')
        ##ax0.set_title('Directivity')
        
        ##ax0.pcolormesh(u*180.0/np.pi, v*180.0/np.pi, r)
        #(x, y, z) = spherical_to_cartesian(d, theta_n, phi_n)
        
        
        #fig = plt.figure()
        #fig.add_subplot(111, projection='3d')
        #fig.surface()
        
        ##fig = mlab.figure()
        ##s = mlab.mesh(x,y,z)
        ##fig.add(s)
        ##mlab.axes()
        ##mlab.outline()
        ##mlab.show()
        
        ##ax0.plot_wireframe(x*180.0/np.pi, y*180.0/np.pi, z)
        ##ax0.set_xlabel(r'Latitude $u$ in degree')
        ##ax0.set_ylabel(r'Longitude $v$ in degree')
        ##ax0.grid()
        
        ##if filename:
            ##fig.savefig(filename)
Writes the current canvas to a postscript file.
dataset/ETHPy150Open python-acoustics/python-acoustics/acoustics/directivity.py/Directivity.plot--crossover with--dataset/ETHPy150Open rlpy/rlpy/rlpy/Domains/PacmanPackage/graphicsUtils.py/writePostscript