[Matplotlib-users] Engineering prefixed units in tick labels

2009-11-17 Thread Jason Heeris
In gnuplot, I can do the following: set format x "%.0s %cHz" ...and this will set the x-axis labels (on a semilogx style plot) to be "10 Hz", "100 Hz", "1 kHz", "10 kHz", etc. Is there an easy way to do this in matplotlib? I spent a while in the matplotlib.ticker docs, but couldn't find anything

Re: [Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread John Hunter
On Tue, Nov 17, 2009 at 4:04 PM, Christopher Barker wrote: > Peter McGregor wrote: >> The problem with those examples is, when I comment the following line (for >> example in >> http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_wx2.html): >> >>         self.add_toolbar() #

Re: [Matplotlib-users] metadata

2009-11-17 Thread Marius Jan Klein
> Marius Jan Klein writes: > >> I want to edit the metadata of pdf- or png-files when creating one of >> these files. I do not want to use for example Pypdf because then >> Python must read the file first before it can be edited. > > Concerning pdf files, there is no current support for that, >

Re: [Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread Christopher Barker
Peter McGregor wrote: > The problem with those examples is, when I comment the following line (for > example in > http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_wx2.html): > > self.add_toolbar() # comment this out for no toolbar > > then I have no possibility to

Re: [Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread Peter McGregor
Thanks for your reply, but: >See the embedding_in_wx examples at >http://matplotlib.sourceforge.net/examples/user_interfaces/index.html. The problem with those examples is, when I comment the following line (for example in http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_

Re: [Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread John Hunter
On Tue, Nov 17, 2009 at 1:51 PM, Peter McGregor wrote: > I have a question, how to control matplotlib from another application. > > Let me explain. We want to monitor some sensor data. The monitoring > application already offers a toolbar to choose the view for several embedded > windows. For exam

[Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread Peter McGregor
I have a question, how to control matplotlib from another application. Let me explain. We want to monitor some sensor data. The monitoring application already offers a toolbar to choose the view for several embedded windows. For example, buttons like "Reset view","Back/Forward", "Pan", "Zoom" an

Re: [Matplotlib-users] line thicknes in axes

2009-11-17 Thread Christopher Barker
Pavlo Shchelokovskyy wrote: is there is a consistent > way to scale at once thickness of everything drawn on figure, i.e. > axis, plots, fonts?.. I think what you want is to set a dpi that works for you: http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize -Chris -- Christopher Bark

[Matplotlib-users] line thicknes in axes

2009-11-17 Thread Pavlo Shchelokovskyy
Hi all, while I was using matplotlib mostly in interactive mode, the thickness of lines displayed was OK for me, by now I want to generate a plot to use on slides for beamer, and the thickness of all lines is totally not sufficient, especially when using transparent figure/axis background. I know