Re: [Matplotlib-users] histograms : xmax

2009-07-08 Thread Pau
Hello, any hint about this? If somebody wants to understand better what I mean, my data are here: www.aei.mpg.de/~pau/histo3.dat thanks Pau 2009/7/8 Pau : > Hello, > > two days ago Sebastian helped me to finish in a hurry a histogram with bar() > > I would like now to understand how to make t

Re: [Matplotlib-users] Resize error with Qt4 backend

2009-07-08 Thread Ole Streicher
Hi Darren, Darren Dale writes: > On Thu, Jul 2, 2009 at 9:46 AM, Ole Streicher < > ole-usenet-s...@gmx.net> wrote: > Run it, move the second diagram below the first, adjust their sizes so > that they take roughly the same size: [...] > and then move the slider between the diagrams and

Re: [Matplotlib-users] {axesgrid} - How to change fontsize on multiple labels?

2009-07-08 Thread Gökhan SEVER
On Wed, Jul 8, 2009 at 9:47 PM, Jae-Joon Lee wrote: > axes_grid toolkit uses slightly customized version of axes and > different kind of artists are used to draw ticks and ticklabels, and > some of the commands from original mpl do not work. > But not changing fontsize and not showing up gridline

Re: [Matplotlib-users] zoomed in detail box

2009-07-08 Thread Jae-Joon Lee
Arrrg, it depends on other module in axes_grid toolkit. So, you need svn version of mpl. However, It is possible to specify the location of the axes in normalized axes coordinate. http://thread.gmane.org/gmane.comp.python.matplotlib.general/16373 -JJ On Wed, Jul 8, 2009 at 10:57 PM, Jae-Joon L

Re: [Matplotlib-users] zoomed in detail box

2009-07-08 Thread Jae-Joon Lee
If you use the svn version of matplotlib, you may use axes_grid toolkit. http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html#insetlocator I think the required inset_locator module actually does not depend on other modules in axes_grid, so if you're not using svn, you may

Re: [Matplotlib-users] {axesgrid} - How to change fontsize on multiple labels?

2009-07-08 Thread Jae-Joon Lee
axes_grid toolkit uses slightly customized version of axes and different kind of artists are used to draw ticks and ticklabels, and some of the commands from original mpl do not work. But not changing fontsize and not showing up gridlines are things that should be fixed (I'll work on these in a few

[Matplotlib-users] {axesgrid} - How to change fontsize on multiple labels?

2009-07-08 Thread Gökhan SEVER
Hello, I am using axes_grid toolkit to create multiple axes. The labels' colors are nicely being updated, however size or fontsize has no effect on the resulting figure :( Are they functional, or is it something wrong with my implementation? Oh also I couldn't make the grids switched on my figures

[Matplotlib-users] pcolor() to VTK

2009-07-08 Thread Ondrej Certik
Hi, I just wanted to share a simple code that I wrote: http://certik.github.com/visit_writer/ which uses Visit's VTK writer (written in C, wrapped in Python). I wrote a pcolor() function, that works just like the one in matplotlib, only it produces a vtk file (resp. data that you then pass to th

[Matplotlib-users] tkinter problem

2009-07-08 Thread Paul Simon
Thank you Russell. I did post to the wrong group and I apologize for the inconvenience. I'll be posting there. Paul Simon --- Your python is missing the _tkinter library, so it cannot use Tkinter. Normally if you build from source then all you have to do is build and install tcl and tk first

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-07-08 Thread Darren Dale
On Wed, Jul 8, 2009 at 3:10 AM, Ole Streicher wrote: > Hi again, > > Ole Streicher writes: > > could anyone reproduce this problem and/or has a solution for it? Is > > there anything wrong with my code? > > after some discussion on the PyQt mailing list, I found the cause of the > problem: > > In

[Matplotlib-users] Pluggable Backends

2009-07-08 Thread T J
Are matplotlib backends pluggable? That is, can package X provide an experimental backend and tell matplotlib to use it? If so, how? -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000

Re: [Matplotlib-users] gps-satellite sky-plot

2009-07-08 Thread Massimo Di Stefano
Hi Jef, please apologize me for the delay i had days without internet connection :-/ sorry if i gived you a bad explanation ... for sky plot i means plot like : http://www.tpub.com/content/armyengineer/en0593a/en0593a0209.htm the data i'm receiving from the gps device are : PRN = satellite ID

Re: [Matplotlib-users] _tkinter problem

2009-07-08 Thread Russell E. Owen
Your python is missing the _tkinter library, so it cannot use Tkinter. Normally if you build from source then all you have to do is build and install tcl and tk first, then build python and it should find the tcl/tk and build _tkinter (the library that links to Tcl/Tk and allows Tkinter to work

[Matplotlib-users] dotted line larger linewidths

2009-07-08 Thread Robin
Again, apologies if this is an obvious question but I couldn't find the answer. With a lw=1 dotted (:) line the dots are square and it looks very nice. But when I put lw up say to 2 or 3, the dots become rectangular, which looks a bit odd, particularly at points where the underlying graph curves s

Re: [Matplotlib-users] get_position vs set_position

2009-07-08 Thread Matthias Michler
Hi Robin, What version of matplotlib do you use? For me the following works: ax.set_position(ax.get_position()) The object returned by get_position is "A mutable bounding box.", which is also supported in set_position. Nevertheless set_position supports lists with '[left, bottom, width, heigh

[Matplotlib-users] Slow animation

2009-07-08 Thread Alastair Basden
Hi, I'm running the example code dynamic_image_gtkagg.py, but am only getting about 6 FPS. Does anyone know how to speed this up (eg by a factor of 10 or so!)? The call to manager.canvas.draw() it taking the bulk of the time. Thanks, agb. ---

[Matplotlib-users] get_position vs set_position

2009-07-08 Thread Robin
Hi, After quite a bit of trial and error I realised that ax.get_position() is returning numbers in the form a Bbox which are very different to the numbers you need for ax.set_position(). Often I want to use the subplot positioning first, then get the positions that sets up for some manual tweakin

[Matplotlib-users] zoomed in detail box

2009-07-08 Thread Robin
Hi, I'm sure its a bit lazy to ask but I can't think of the right keywords to search for... I would like to produce a plot with a zoomed in box detail section. What I have in mind is a plot of an exponentially decaying line with some fine detail, so I would like the main plot to show the scale of

[Matplotlib-users] WxWidget animation twinkling?

2009-07-08 Thread guillaume ranquet
Hi list (yes, me, again :D) I'm having difficulties with matplotlib svn (rev 7249) and animations. I'm a bit lost on what I have to do to get my animation running smoothly? I had various attempts, It seems that the best result I can have is by totally skipping the canvas.restore_region(self.backg

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-07-08 Thread Ole Streicher
Hi again, Ole Streicher writes: > could anyone reproduce this problem and/or has a solution for it? Is > there anything wrong with my code? after some discussion on the PyQt mailing list, I found the cause of the problem: In matplotlib.FigureCanvasQTAgg, the following piece of code is called on