Re: [Matplotlib-users] Mathtext + stixsans weird baseline

2010-04-15 Thread Ryan May
I'm having a problem with the rendering of stixsans fonts again. Not as bad as the baseline before, but some odd text placement: import matplotlib.pyplot as plt from matplotlib import rcParams rcParams['font.size'] = 8.0 rcParams['mathtext.default'] = 'regular' rcParams['mathtext.fontset'] = 'stix

Re: [Matplotlib-users] Forcing full value on axis (Dave Simpson)

2010-04-15 Thread KrishnaPribadi
I just tried this method and it does work if you are using integers or whole numbers. However, I am working with time on my x axis. So when I zoom too close, floating point numbers are required... Is there any way to just turn off the exponent number in the right corner and force the x tick labels

Re: [Matplotlib-users] Setting boundaries for a colorbar

2010-04-15 Thread Friedrich Romstedt
2010/4/14 Andreas Hilboll : > So my question is: What do I need to do so that the colorbar actually  has > the > range as specified by my colorNorm? We had a beautiful discussion about this recently under "Making a data-driven colormap", maybe this helps. Friedrich --

[Matplotlib-users] Is there an easy way to plot a log-frequency spectrogram?

2010-04-15 Thread David Ho
Hi all! I have a quick newbie question. matplotlib's specgram() by default plots a spectrogram with a linear y-axis (frequency). However, for many applications, it's better to look at a log-frequency spectrogram. Is there an easy way to plot a spectrogram using a logarithmic frequency axis? Than

Re: [Matplotlib-users] Multicolored Graph / Color coding

2010-04-15 Thread Alan G Isaac
http://matplotlib.sourceforge.net/api/collections_api.html#matplotlib.collections.LineCollection -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively,

[Matplotlib-users] Multicolored Graph / Color coding

2010-04-15 Thread Martin Bothe
Hello Matplotlib-Community, I'm quite sure that I've seen a figure containing a multicolered graph somewhere, maybe on stackoverflow or at scipy.org. Unfortunately, I'm not able to find it anymore. Anyone knows the link? Anyone knows howto? Thanks very much indeed, greetings, Martin -

[Matplotlib-users] Copying linecollections across figures

2010-04-15 Thread Antony Lee
Hello, I'd like to know if there's some way of copying a LineCollection or a ContourSet (or any other Artist, actually) from one figure to another. More precisely, I have to figures using identical axes (one being a grayscale image and the other a thresholded version of the image) ; I have written

Re: [Matplotlib-users] Issue with PatchCollection

2010-04-15 Thread Eric Firing
Thomas Robitaille wrote: > Hi, > > Last year, I submitted a bug report regarding the fact that PatchCollection's > match_original argument does not work properly, in a pretty simple script: > > https://sourceforge.net/tracker/?func=detail&aid=2881485&group_id=80706&atid=560720 > > I came across

Re: [Matplotlib-users] Issue with PatchCollection

2010-04-15 Thread Eric Firing
Thomas Robitaille wrote: > Hi, > > Last year, I submitted a bug report regarding the fact that PatchCollection's > match_original argument does not work properly, in a pretty simple script: > > https://sourceforge.net/tracker/?func=detail&aid=2881485&group_id=80706&atid=560720 > > I came across