Re: [Matplotlib-users] Options for speeding up matplotlib, spectrogram with log scale axis, etc.

2012-10-08 Thread Jianbao Tao
e found the Enthought installation to be MUCH more reliable than FINK > or MacPorts (Enthought is also a private company - hence the quality > installers etc, and they like to support academic work). > > > Cheers, > > Andre > > > > > > > On Oct 8, 2012, at 10:

[Matplotlib-users] Options for speeding up matplotlib, spectrogram with log scale axis, etc.

2012-10-08 Thread Jianbao Tao
Hi all, A little background: I am from the space physics field where a lot of people watch/analyze satellite data for a living. This is a field currently dominated by IDL in terms of visualization/analysis software. I was a happy IDL user until I saw those very, very, I mean, seriously, very, very

Re: [Matplotlib-users] But report: Date axis formatter problem

2012-10-08 Thread Jianbao Tao
Bug to the bug report: In the subject, it should be 'Bug report', rather than 'But report'. Oops :-( Jianbao On Mon, Oct 8, 2012 at 9:37 AM, Jianbao Tao wrote: > Problem: The autodatelocator and autodateformatter don't seem to work > properly. One, the

[Matplotlib-users] But report: Date axis formatter problem

2012-10-08 Thread Jianbao Tao
Problem: The autodatelocator and autodateformatter don't seem to work properly. One, the formatter doesn't seem to work immediately after being applied to an axis. A manual call to the locator seems necessary. Two, the autodatelocator doesn't seem to be able to handle view intervals less than 1 sec

Re: [Matplotlib-users] Format date tick labels

2012-10-08 Thread Jianbao Tao
Root wrote: > > > On Sun, Oct 7, 2012 at 6:47 PM, Jianbao Tao wrote: > >> fig = figure() >> tsta = num2epoch(date2num(datetime.datetime.now())) >> tarr = tsta + arange(0, 60*60*0.5, 0.1)# half hour, dt = >> 0.1 sec >> x = np.array(nu

[Matplotlib-users] Format date tick labels

2012-10-07 Thread Jianbao Tao
Hi, I am having trouble to customize the format of date axis tick labels. Below is a snippet to demonstrate my problem: #- code # Make an example plot. fig = figure() tsta = num2epoch(date2num(datetime.datetim

Re: [Matplotlib-users] Problem with shared axis

2012-10-05 Thread Jianbao Tao
Works like a charm. :-) Thank you so much, Damon. Jianbao On Fri, Oct 5, 2012 at 10:53 AM, Damon McDougall wrote: > On Fri, Oct 5, 2012 at 5:44 PM, Jianbao Tao wrote: > > Hi, > > > > I am working on a time-series data browser based on matplotlib. In > general, >

[Matplotlib-users] Problem with shared axis

2012-10-05 Thread Jianbao Tao
Hi, I am working on a time-series data browser based on matplotlib. In general, it shows a N_row x 1_col stack of axes, which share the x axis, the time axis. It is nice that matplotlib offers the sharex option so that the data can be zoomed simultaneously in time. However, one problem with the sh

Re: [Matplotlib-users] Matplotlib produced plots in academic journal articles

2012-10-05 Thread Jianbao Tao
I think that is a great idea. I think it is worthwhile to put a highlighted spot, or whatever, that shows matplotlib plots in academic publications. Additionally, it is good for enlarging the matplotlib user base to ask people to acknowledge matplotlib in their papers if they use matplotlib to make

Re: [Matplotlib-users] Development advice needed

2012-10-03 Thread Jianbao Tao
Thank you so much, Anthony. After weighing the options, I decided to go for Tkinter. The major reason for this is portability. BTW, I checked out your website. Those screenshots are quite impressive. :-) Jianbao On Wed, Oct 3, 2012 at 3:27 PM, Anthony Floyd wrote: > Hi Jianbao, > > > Do you have

Re: [Matplotlib-users] Development advice needed

2012-10-03 Thread Jianbao Tao
Dear Anthony, Thank you so much for your advice. I embedded my response below. Jianbao On Wed, Oct 3, 2012 at 10:49 AM, Anthony Floyd wrote: > Hi Jianbao, > > First some context: at the company I work for, we've been using > matplotlib to do much of what you want to do for the past 4 years. We

[Matplotlib-users] Development advice needed

2012-10-03 Thread Jianbao Tao
Dear all, As some of you might have noticed, I am asking questions frequently recently, most of which are naive ones. The reason for this is that I recently decided to develop a satellite data viewer with matplotlib, and I am new to both python and matplotlib. Here is a little background of this

[Matplotlib-users] Control the position of a figure window

2012-10-02 Thread Jianbao Tao
Hi, Is it possible to specify the position of a figure window when one is created? This will be a killing feature if one wants to put the figure window at the right place in the screen automatically. It is annoying if ones has to drag a new figure to a comfortable place in the screen every time a

[Matplotlib-users] Create a figure window without navigation toolbar

2012-10-02 Thread Jianbao Tao
Hi, I know one can make a figure window without toolbar by doing mpl.rcParams['toolbar'] = 'None' However, this approach is kind of annoying if one just wants to remove the toolbar for one figure window and to keep the default behavior to be with a toolbar. So, I am wondering if it is possible to

[Matplotlib-users] How to modify the navigation toolbar easily in a matplotlib figure window?

2012-10-02 Thread Jianbao Tao
Is it possible to do something like the following to modify the navigation toolbar in matplotlib? 1. Generate a figure window, such as by *fig = figure()* 2. Get a reference of the navigation toolbar, such as by *tbar = fig.get_navigation_toolbar()* or better yet, just by *tbar = fig.navt