All, I have:
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
fig=plt.figure()
ax=axes3d.Axes3D(fig)
x=np.linspace(-2,2,40)
y=np.linspace(-2,2,40)
X, Y=np.meshgrid(x,y)
Z=6-2*X**2
ax.plot_wireframe(X,Y,Z)
ax.set_xlabel('x-axis')
ax.set_ylabel('y-axis')
Wayne,
Are you using the IPython shell? If so, cd, pwd, ls, etc will work just fine.
If you using the standard python shell, AFAIK, you need to import the os module
and use that to navigate.
Ipython session:
C:\Documents and Settings\phobson>ipython
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:
I've seen the tutorial, but need something more. How do I know what
folder I'm in? How do I move from where I am to, for example,
C:\abc\def? So far I've tried various combinations like this:
cd ..
cd C:\
pwd (yes, I know it's not windows)
I tried %cd .., and that may have moved me but I seem t
All,
If I am using this in my conf.py in Sphinx:
extensions = ['matplotlib.sphinxext.mathmpl',
'matplotlib.sphinxext.only_directives',
'matplotlib.sphinxext.plot_directive']
Is there a way I can use ams-latex constructs such as:
\begin{align*}
x+2y&=3\\
2x-3y&=4
\end{align*}
D.