[Matplotlib-users] Sphinx and ams-latex

2009-12-06 Thread David Arnold
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.

[Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-06 Thread Wayne Watson
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

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-06 Thread PHobson
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\phobsonipython Python 2.6.2 (r262:71605, Apr 14 2009,

[Matplotlib-users] 3D

2009-12-06 Thread David Arnold
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')