Re: [Matplotlib-users] Where do bugs and document corrections/suggestions get sent?

2010-02-17 Thread Philipp Bender
The easiest way is to check out the SVN / git repo, make the changes and create a patch according to the instructuins here: http://matplotlib.sourceforge.net/faq/howto_faq.html#submit-a-patch Best regards Philipp -- Do

[Matplotlib-users] Masks

2010-02-17 Thread David Arnold
All, In the code on: http://matplotlib.sourceforge.net/examples/api/bbox_intersect.html I think I've figured out that: vertices = (np.random.random((4, 2))-0.5)*6.0 vertices = np.ma.masked_array(vertices, [[False, False], [True, True], [False, False], [False, False]]) prevents the sec

[Matplotlib-users] Clipping

2010-02-17 Thread David Arnold
All, I'm looking at: http://matplotlib.sourceforge.net/examples/api/clippath_demo.html But I cannot figure out: patch=patches.Circle((300, 300), radius=100) Where precisely is (300,300)? D. -- Download Intel® Paralle

[Matplotlib-users] Where do bugs and document corrections/suggestions get sent?

2010-02-17 Thread David Arnold
All, Where do bugs and document corrections/suggestions get sent? David -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications

[Matplotlib-users] set_scientific(False) doesn't do anything.

2010-02-17 Thread cuddihyd
Hi -- According to what I've read in the docs, the following code should render a graph with the Y-Axis NOT in scientific-mode. However this isn't the case. What am I failing to understand? import matplotlib.pylab as pylab pylab.figure() yfmt = pylab.gca().yaxis.get_major_formatter() yfmt.set_sci

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread Gökhan Sever
On Wed, Feb 17, 2010 at 9:28 AM, John Hunter wrote: > On Wed, Feb 17, 2010 at 9:06 AM, Matthias Michler > wrote: > > > thanks a lot for taking the time to go through this patch. I tried to > > incorporate you remarks and attached a new patch. > > The most difficult task is about the > > document

Re: [Matplotlib-users] hexbin log bins and colorbar

2010-02-17 Thread Eric Firing
Jan Strube wrote: > Dear matplotters, > encouraged from the excellent response times to my last problem, I am > trying to explore more features of matplotlib. > > My current problem is with hexbin. > I have been using numpy.histogram2d and imshow so far for 2d histograms, > but I must admit that

Re: [Matplotlib-users] DateFormatter + Latex issue

2010-02-17 Thread PHobson
> On Tue, Feb 16, 2010 at 9:53 PM, John Hunter wrote: > > I think it means that Darren, who did most of the heavy lifting for > > these features, was getting tired of the endless line of additional > > things TeX users wanted to do and the difficulties supporting these > > across all platforms (eg

[Matplotlib-users] hexbin log bins and colorbar

2010-02-17 Thread Jan Strube
Dear matplotters, encouraged from the excellent response times to my last problem, I am trying to explore more features of matplotlib. My current problem is with hexbin. I have been using numpy.histogram2d and imshow so far for 2d histograms, but I must admit that hexbin looks quite pretty. In or

Re: [Matplotlib-users] DateFormatter + Latex issue

2010-02-17 Thread T J
On Tue, Feb 16, 2010 at 2:03 PM, Jae-Joon Lee wrote: > If what you want is to have more padding for the major tick labels, I > recommend you to use > > rcParams['xtick.major.pad'] = 20 > > If you don't like to change the global setting, you may set the > ticklabel padding for an specific axis. Try

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread John Hunter
On Wed, Feb 17, 2010 at 9:06 AM, Matthias Michler wrote: > thanks a lot for taking the time to go through this patch. I tried to > incorporate you remarks and attached a new patch. > The most difficult task is about the > documentation 'mpl/doc/users/navigation_toolbar.rst', because I'm not sure

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread Matthias Michler
On Wednesday 17 February 2010 15:28:24 John Hunter wrote: > On Wed, Feb 17, 2010 at 8:08 AM, Matthias Michler > > wrote: > > Hi list, Hi Gökhan, > > > > I once more would like to say that I like the 2 new features introduced > > by Gökhan (key 'k' for xscaling and the generalized handling of the >

[Matplotlib-users] Plot visual representation of wavelet decomposition

2010-02-17 Thread Thorsten Kranz
Hi, I have the following problem: I do a wavelet decomposition on a signal, sampled at 1 kHz. When I take 1024 datapoints I get coefficients cD1, cD2, cD3, ... , cD10, cA10, where the 512 cD1 coefficients correspond to the frequencies 250-500 Hz, the next 256 cD2 coefficients are from the 125-250H

[Matplotlib-users] Break in X-Axis

2010-02-17 Thread mogliii
Hi, I am currently learning metplotlib to make beautiful figures for a LaTeX thesis. I will need to have graphs with a break in the x-axis, comparable to this one http://www.originlab.com/www/Products/images/Date_Axis_plot_with_XY_break_500px.png As I found out, there is no native support for t

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread John Hunter
On Wed, Feb 17, 2010 at 8:08 AM, Matthias Michler wrote: > Hi list, Hi Gökhan, > > I once more would like to say that I like the 2 new features introduced by > Gökhan (key 'k' for xscaling and the generalized handling of the key-mapping, > which allows the user to choose its prefered key for a cer

Re: [Matplotlib-users] Interactive use of matplotlib in ipython

2010-02-17 Thread John Hunter
On Wed, Feb 17, 2010 at 7:42 AM, Wolfgang Kerzendorf wrote: > Hello, > > I would like to build a bit of an interactive fitter with matplotlib and > ipython (in pylab environment). I would like to have a a function, which > takes x and y as input, then plots these and fits a line to it (just nump

Re: [Matplotlib-users] Easy come easy go

2010-02-17 Thread John Hunter
On Wed, Feb 17, 2010 at 7:41 AM, Michiel de Hoon wrote: > An inconsistency in the definition of save_figure between different backends > is causing this problem. > > The GTK backends use >    def save_figure(self, button): > > but the tkagg, qt, qt4, and macosx backends use >    def save_figure(s

[Matplotlib-users] Interactive use of matplotlib in ipython

2010-02-17 Thread Wolfgang Kerzendorf
Hello, I would like to build a bit of an interactive fitter with matplotlib and ipython (in pylab environment). I would like to have a a function, which takes x and y as input, then plots these and fits a line to it (just numpy polyfit). if I click a point it will be removed from the fit pool a

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-02-17 Thread Matthias Michler
Hi list, Hi Gökhan, I once more would like to say that I like the 2 new features introduced by Gökhan (key 'k' for xscaling and the generalized handling of the key-mapping, which allows the user to choose its prefered key for a certain task) and I'd like to see this in matplotlib. I attached

Re: [Matplotlib-users] Easy come easy go

2010-02-17 Thread Michiel de Hoon
An inconsistency in the definition of save_figure between different backends is causing this problem. The GTK backends use def save_figure(self, button): but the tkagg, qt, qt4, and macosx backends use def save_figure(self): so without the second argument. The line that is causing the e

Re: [Matplotlib-users] Color in table help please! I have already searched previous posts

2010-02-17 Thread duckman
That actually did it. I thought I had tried this several times and kept getting errors. It would not take the color names like red, blue etc. But when I changed it as suggested it worked! Thank you! Jae-Joon Lee wrote: > > On Tue, Feb 16, 2010 at 2:15 PM, duckman > wrote: >> I am try

Re: [Matplotlib-users] DateFormatter + Latex issue

2010-02-17 Thread Darren Dale
On Tue, Feb 16, 2010 at 9:53 PM, John Hunter wrote: > On Tue, Feb 16, 2010 at 3:57 PM, Ernest Adrogué wrote: >> 16/02/10 @ 16:20 (-0500), thus spake Filipe Pires Alvarenga Fernandes: >>> "\\"  works for titles and label, but not for DateFormatter, but \vspace did >>> the trick! >>> >>> Thanks aga