Re: [Matplotlib-users] PyQt integration problem with the Navigation Toolbar

2009-03-27 Thread Xavier Gnata
> Hello, > > I have a demo application integrating a dynamic mpl plot into a PyQt GUI. > The plot is dynamic in the sense that the user can manipulate it through the > use of the GUI's (PyQt) widgets and controls. The code is in: > http://eli.thegreenplace.net/files/prog_code/qt_mpl_bars.py.txt >

Re: [Matplotlib-users] joined matplotlib today

2009-03-27 Thread Fabrice Silva
Le vendredi 27 mars 2009 à 18:15 +0100, Bala subramanian a écrit : > I have to make multiple plot on the same page. Six row and three > column. Kindly suggest me some tips to do the same. I suggest you to have a look to the matplotlib gallery, in particular this example http://matplotlib.sourcefo

Re: [Matplotlib-users] joined matplotlib today

2009-03-27 Thread John Hunter
On Fri, Mar 27, 2009 at 12:15 PM, Bala subramanian < bala.biophys...@gmail.com> wrote: > > I have to make multiple plot on the same page. Six row and three column. > Kindly suggest me some tips to do the same. This is covered in the tutorial I referred you to in my first response, http://matp

Re: [Matplotlib-users] joined matplotlib today

2009-03-27 Thread Ryan May
On Fri, Mar 27, 2009 at 12:15 PM, Bala subramanian < bala.biophys...@gmail.com> wrote: > Dear All, > > I have to make multiple plot on the same page. Six row and three column. > Kindly suggest me some tips to do the same. > Try: pyplot.subplot() http://matplotlib.sourceforge.net/api/pyplot_api.h

Re: [Matplotlib-users] float argument required

2009-03-27 Thread Pau
sorry, problem fixed... I was using linestyle='--', linewidth='7' instead of linestyle='--', linewidth=7 embarrassing ... But matplotlib would not complain when exporting to pdf, nor to png etc... only ps/eps thanks 2009/3/23 Michael Droettboom : > Try switching to the Ps backend by putting:

Re: [Matplotlib-users] joined matplotlib today

2009-03-27 Thread Bala subramanian
Dear All, I have to make multiple plot on the same page. Six row and three column. Kindly suggest me some tips to do the same. Bala -- ___ Matplotlib-users mailing list Matplotl

Re: [Matplotlib-users] Working with arrows

2009-03-27 Thread John Hunter
On Thu, Mar 26, 2009 at 9:59 AM, Sandro Tosi wrote: > Hi Jae-Joon, > thanks for the reply. > > On Thu, Mar 26, 2009 at 02:51, Jae-Joon Lee wrote: > > You need to adjust the keyword arguments, such as head_width, etc. The > > But shouldn't the default arrow be a little bit "nicer" than it's now?

Re: [Matplotlib-users] Changing limits after plot has been deleted

2009-03-27 Thread John Hunter
2009/3/27 Søren Nielsen > Hi, > > I can delete a line plot by removing the line object from axes.get_lines() > .. but the limits are still saved.. so the axes is still autoscaled using so > it includes the deleted line... Does anyone know how do I remove these > limits? or update the data limits

Re: [Matplotlib-users] Bug when saving in PNG?

2009-03-27 Thread John Hunter
On Fri, Mar 27, 2009 at 5:00 AM, marcusantonius < markus.hai...@student.uibk.ac.at> wrote: > > Hi, > > I have a problem when saving my plot as a png. The horizontal lines, which > I > inserted via > axhline(y=0.136, xmin=0., xmax=1, color='black',ls=':') > axhline(y=0.094, xmin=0., xmax=1, color='

Re: [Matplotlib-users] joined matplotlib today

2009-03-27 Thread John Hunter
On Fri, Mar 27, 2009 at 7:30 AM, Bala subramanian wrote: > Dear Friends, > > I am new to matplotlib. Just started with it. I have some queries, kindly > help me to understand the following. > Welcome! > > i) How are pyplot and pylab are related. Is there any advantage of one over > the other.

[Matplotlib-users] joined matplotlib today

2009-03-27 Thread Bala subramanian
Dear Friends, I am new to matplotlib. Just started with it. I have some queries, kindly help me to understand the following. i) How are pyplot and pylab are related. Is there any advantage of one over the other. In the matplotlib homepage examples are shown with both pyplot and pylab ii) How can

[Matplotlib-users] Changing limits after plot has been deleted

2009-03-27 Thread Søren Nielsen
Hi, I can delete a line plot by removing the line object from axes.get_lines() .. but the limits are still saved.. so the axes is still autoscaled using so it includes the deleted line... Does anyone know how do I remove these limits? or update the data limits on the plotted data so that autoscale

[Matplotlib-users] Bug when saving in PNG?

2009-03-27 Thread marcusantonius
Hi, I have a problem when saving my plot as a png. The horizontal lines, which I inserted via axhline(y=0.136, xmin=0., xmax=1, color='black',ls=':') axhline(y=0.094, xmin=0., xmax=1, color='black',ls=':') are not displayed right in the png file. Saving in pdf works perfectly. I enclosed the two

Re: [Matplotlib-users] modifying the toolbar?

2009-03-27 Thread C M
On Fri, Mar 27, 2009 at 1:56 AM, Eric Firing wrote: > C M wrote: >> >> Hi, I have just begun including the toolbar in an embedded (in wx) >> use of mpl, and am really pleased with how easily it provides very >> useful functions.  Once again, mpl shines. >> >> But I would like to try to modify the