Re: [Matplotlib-users] DateFormatter + Latex issue

2010-02-17 Thread Darren Dale
On Tue, Feb 16, 2010 at 9:53 PM, John Hunter jdh2...@gmail.com wrote: On Tue, Feb 16, 2010 at 3:57 PM, Ernest Adrogué eadro...@gmx.net 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

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

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

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

[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

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 mjldeh...@yahoo.com 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

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 wkerzend...@googlemail.com 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

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 matthiasmich...@gmx.net 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

[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

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 matthiasmich...@gmx.net 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

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 matthiasmich...@gmx.net 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',

[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

Re: [Matplotlib-users] DateFormatter + Latex issue

2010-02-17 Thread PHobson
On Tue, Feb 16, 2010 at 9:53 PM, John Hunter jdh2...@gmail.com 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

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] Assigning k key for xscaling

2010-02-17 Thread Gökhan Sever
On Wed, Feb 17, 2010 at 9:28 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Feb 17, 2010 at 9:06 AM, Matthias Michler matthiasmich...@gmx.net 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

[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()

[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 Intelreg; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune

[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 Intelreg;

[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

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 --