Hi Trevis,

On Wednesday 23 May 2007 17:17, Trevis Crane wrote:
> 1)  It's pretty easy to include text on a graph, but are LaTex strings
> supported?  That is, I want to write something like this on my plot:
> '\Phi_0 = blah...'.  When passing a LaTex command as part of text string
> to be written on a plot in MatLab, it interprets this and displays the
> (in this case) Greek symbol.  Any suggestions on how this is or should
> be done with matplotlib?

See the chapter on mathtext on page 32 in the user guide:

http://matplotlib.sourceforge.net/users_guide_0.90.0.pdf

> 2) How do I format how tick mark labels are displayed?  I have a plot
> whose x-axis runs from 0 to 8.5e-5.  But the tick mark labels are
> 0,0.00001,0.00002,0.00003...  This is rather unsightly, but I haven't
> found a way to specify the format of these numbers.

That is described on page 52 in the user guide (see listing 6.1 for an 
example).

Hope this helps.

Cheers,
Jesper

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to