Re: [Matplotlib-users] PDF backend problem

2007-03-14 Thread kc106_2005-matplotlib
Jouni, Are you certain the version you sent me is correct? It didn't make any difference - I get the same error messages. Regards, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jouni K. Seppänen > Sent: Monday, March 12, 2007 11:20 PM > To:

Re: [Matplotlib-users] histograms and masked arrays

2007-03-14 Thread Eric Firing
Peter Melchior wrote: > Hello everybody, > > First I have to say, how much I appreciate using matplotlib. > > But there are some annoyances. One I stumbled over recently is that histograms > don't deal with masked arrays properly. Fixed now in svn. If you don't want to install from svn, use hi

[Matplotlib-users] histograms and masked arrays

2007-03-14 Thread Peter Melchior
Hello everybody, First I have to say, how much I appreciate using matplotlib. But there are some annoyances. One I stumbled over recently is that histograms don't deal with masked arrays properly. For example: from numpy import * from pylab import * bins = arange(21) data_masked = ma.masked_v

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

2007-03-14 Thread Antonino Ingargiola
On 3/14/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote: [cut] Furthermore I have noted that with "usetex" ticks label are rendered differently if they are explicitly set with set_[xy]ticklabels() or not. Compare the ytick labels (automatic) and xtick labels (manually set) in the attached plot.

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

2007-03-14 Thread Antonino Ingargiola
On 3/13/07, John Travers <[EMAIL PROTECTED]> wrote: > On 13/03/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote: [cut] > > However the only font I know that has the superscript with the minus > > sign is "DejaVu Sans". Anyone know a serif font (or also another sans > > font) with all those symbols

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

2007-03-14 Thread Antonino Ingargiola
On 3/13/07, John Hunter <[EMAIL PROTECTED]> wrote: > 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{\

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

2007-03-14 Thread Antonino Ingargiola
On 3/13/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: > 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

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

2007-03-14 Thread Antonino Ingargiola
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: > > > > rcParams['font.serif'] = 'DejaVu Serif' > > > > However with unicode str

[Matplotlib-users] Setting color of both major and minor gridlines?

2007-03-14 Thread Peter Buschman
Hello: I am trying to set different colors for both major and minor gridlines. In essence, I want the major gridlines to be slightly darker than the minor ones. However, using the syntax below, I can only seem to set the properties of one of the sets of gridlines at a time. If I comment out

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

2007-03-14 Thread David Fokkema
On Tue, 2007-03-13 at 18:05 +0200, Jouni K. Seppänen wrote: > 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?

Re: [Matplotlib-users] Opensuse RPMs

2007-03-14 Thread Marcel Oliver
Werner Hoch writes: > What is Tex output? Do you mean postscript or eps? > > > sh: line 1: 11319 Segmentation fault gs -dBATCH -dNOPAUSE > > -r6000 -sDEVICE=pswrite -sPAPERSIZE=letter > > -sOutputFile="/tmp/ef684d47fbac423478eccceef602c8ca.ps" > > "/tmp/ef684d47fbac423478eccceef602c8c