Re: [Matplotlib-users] Simplified version of double-axis time example (beta)

2009-09-28 Thread Gökhan Sever
There is On Sun, Sep 27, 2009 at 8:49 PM, Gökhan Sever wrote: > > > On Sun, Sep 27, 2009 at 7:44 PM, Jae-Joon Lee wrote: > >> On Sun, Sep 27, 2009 at 4:18 PM, Gökhan Sever >> wrote: >> > When I run this as it is, and zoom once the top x-axis ticklabels >> disappear: >> > http://img2.imageshack.

Re: [Matplotlib-users] Simplified version of double-axis time example (beta)

2009-09-27 Thread Gökhan Sever
On Sun, Sep 27, 2009 at 7:44 PM, Jae-Joon Lee wrote: > On Sun, Sep 27, 2009 at 4:18 PM, Gökhan Sever > wrote: > > When I run this as it is, and zoom once the top x-axis ticklabels > disappear: > > http://img2.imageshack.us/img2/5493/zoom1.png > > > > After commenting these three lines: > > > > #

Re: [Matplotlib-users] Simplified version of double-axis time example (beta)

2009-09-27 Thread Jae-Joon Lee
On Sun, Sep 27, 2009 at 4:18 PM, Gökhan Sever wrote: > When I run this as it is, and zoom once the top x-axis ticklabels disappear: > http://img2.imageshack.us/img2/5493/zoom1.png > > After commenting these three lines: > > #locator    = MinuteLocator(interval=1) > #locator    = SecondLocator(inte

Re: [Matplotlib-users] Simplified version of double-axis time example (beta)

2009-09-27 Thread Gökhan Sever
When I run this as it is, and zoom once the top x-axis ticklabels disappear: http://img2.imageshack.us/img2/5493/zoom1.png After commenting these three lines: #locator= MinuteLocator(interval=1) #locator= SecondLocator(interval=30) #par2.xaxis.set_major_locator(locator) and running I get

Re: [Matplotlib-users] Simplified version of double-axis time example (beta)

2009-09-27 Thread Jae-Joon Lee
Here it is. -JJ On Sun, Sep 27, 2009 at 3:09 PM, Gökhan Sever wrote: > JJ, > > Could you please re-attach the code? Apparently, it has been forgotten on > your reply. > > Thanks. > > On Sun, Sep 27, 2009 at 1:50 PM, Jae-Joon Lee wrote: >> >> Here is the modified version of your code that works

Re: [Matplotlib-users] Simplified version of double-axis time example (beta)

2009-09-27 Thread Gökhan Sever
JJ, Could you please re-attach the code? Apparently, it has been forgotten on your reply. Thanks. On Sun, Sep 27, 2009 at 1:50 PM, Jae-Joon Lee wrote: > Here is the modified version of your code that works for me. > > 1) If you change trans_aux, you also need to plot your data in an > appropri

Re: [Matplotlib-users] Simplified version of double-axis time example (beta)

2009-09-27 Thread Jae-Joon Lee
Here is the modified version of your code that works for me. 1) If you change trans_aux, you also need to plot your data in an appropriate coordinate. Your original code did not work because you scaled the xaxis of the second axes (par) but you were still plotting the original data, i.e., "time" n

[Matplotlib-users] Simplified version of double-axis time example (beta)

2009-09-27 Thread Gökhan Sever
Hello, As was suggested by Jae-Joon, I have simplified the code for easier investigation and run. The aim of the script is to have time represented on both bottom and top x-axes, on the bottom in seconds-from-midnight (SFM), and the top should show as HH:MM:SS, while there is two different data so