[Matplotlib-users] matplotlib, math greek letters and latex

2007-03-13 Thread Antonino Ingargiola
Hi to the list, I'm using matplotlib to generate graphs during my master thesis. I want to thank all the developer for providing such flexible tool. In some plots I have to put greek letters (or sometimes small fomulas) as axis label. I've found three way to accomplish this: 1. Use the unicode

Re: [Matplotlib-users] matplotlib, math greek letters and latex

2007-03-13 Thread Antonino Ingargiola
Sorry for the previous mail I've hit Send for error before the mail was complete. Here it is the complete mail: Hi to the list, I'm using matplotlib to generate graphs during my master thesis. I want to thank all the developer for providing such flexible tool. In some plots I have to put greek

[Matplotlib-users] Unicode handling in mpl backends

2007-03-13 Thread Lorenzo Mancini
Hello, I'm trying to display some unicode text in matplotlib graphs embedded in a Qt application. The text contains characters belonging to Turkish and Korean idioms. I've started modifying the simple demo examples/unicode_demo.py, I ran it and I got a nice test.svg file with the correct glyphs.

Re: [Matplotlib-users] matplotlib, math greek letters and latex

2007-03-13 Thread John Hunter
On 3/13/07, Antonino Ingargiola [EMAIL PROTECTED] wrote: 1. Use the unicode string: xlabel(u'Wavelength [μm]') 2. Use mathtext: xlabel(r'$\rm{Wavelength [\mu m]}$') 3. Use usetex: rc(text, usetex=True), xlabel(r'Wavelength [$\rm{\mu m}$]') I have some problem with each method (any hint is

Re: [Matplotlib-users] matplotlib, math greek letters and latex

2007-03-13 Thread John Travers
On 13/03/07, Antonino Ingargiola [EMAIL PROTECTED] wrote: On 3/13/07, John Travers [EMAIL PROTECTED] wrote: On 13/03/07, Antonino Ingargiola [EMAIL PROTECTED] wrote: 1. This method works ok as far as I choose a unicode font with the greek letters, for example:

[Matplotlib-users] Rotating a subplot counter-clockwise 90 degrees?

2007-03-13 Thread David Fokkema
Hi list, I started to use ipython with matplotlib and I'm starting to become a fan. However, I encountered a problem which is nagging me big time. http://procyon.homeunix.net/~dfokkema/plot-matplotlib-070313.png This is a plot of a 2d histogram of events where peak heights and time differences

Re: [Matplotlib-users] Rotating a subplot counter-clockwise 90 degrees?

2007-03-13 Thread Jouni K . Seppänen
David Fokkema [EMAIL PROTECTED] writes: basically a horizontal cumulative histogram, apart from the fact that the plot should be rotated 90 degrees counter-clockwise. Does hist(..., orientation='horizontal') look right? -- Jouni K. Seppänen http://www.iki.fi/jks

[Matplotlib-users] Setting the axes border color?

2007-03-13 Thread Peter Buschman
This doesn't seem to be having the desired effect. I can set the frame's edgecolor to whatever I want, and it is displayed correctly, but there is still a black line surrounding it? Is there another property I need to set somewhere to completely change the border color? ax=gca()

Re: [Matplotlib-users] matplotlib, math greek letters and latex

2007-03-13 Thread Edin Salkovic
Hi Antonino, If your using the version 0.90 (or SVN) of matplotlib you can also use mathtext2. To enable it, put these lines in your matplotlibrc file: mathtext.mathtext2 : True mathtext.nonascii : FreeSerif.ttf # Or any unicode font or, you can set it for your particular script:

[Matplotlib-users] Trouble with show()

2007-03-13 Thread CS
Hello - I've been searching around for a good plotting package for python; matplotlib seems great - the problem is, I can't get anything to show(). I'm on os x 10.4.8, python 2.4. I've installed (and uninstalled and installed) matplotlib via darwin ports: novelbox:~/dev/py/work knot$ sudo port

[Matplotlib-users] example Help

2007-03-13 Thread Patrick McCavery
Hi There I am new to Matplotlib. Indeed I am new to programming. I am learning Python and PyGtk. I rebuild and resell instruments used in laboratories. There is a dire need for affordable software. Researchers have to waste a lot of money on hyped up closed source software. I would like to