On Thursday, May 13, 2010 12:31:08 am Alan G Isaac wrote:
> What is the preferred method to do the equivalent of plot_date
> with log scaling for the non-date values?
>
> Thanks,
> Alan Isaac
Hi Alan,
What about using 'plot_date' ans scaling the y-axis by hand?
In the example 'date_demo1.py' you
On 5/14/2010 9:03 AM, Matthias Michler wrote:
> ax = fig.add_subplot(111, yscale='log')
>
> or for any other generated axes 'ax'
> ax.set_yscale('log')
>
>
Somehow I was unaware of this possibility.
Excellent!
Thanks,
Alan
Some additional details
$ python
Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16) [GCC 4.4.3] on linux2
>>> import numpy, matplotlib
>>> numpy.__version__, matplotlib.__version__
('1.3.0', '0.99.1.1')
and the output of lsof just before the pointer enters the canvas
--
Fabrice Silva
$ lsof |grep 6
Can you get a gdb backtrace?
(Run "gdb python", then "run name_of_script.py", cause it to crash, and
type "bt" in gdb console...)
Mike
Fabrice Silva wrote:
> hi folks,
> even on simple script, matplotlib crashes :
> fab:$ python
> Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16
Thanks for your reply.
>>> m = Basemap(resolution='c',projection='robin', lon_0=-120.)
doesn't have lonmin, lonmax variables. However, when I do
>>> m(*m(190,0),inverse=1)
(-169.97, 0.0)
Which implies that the angular domain for longitude is [-180.,180], right?
Thanks
Le vendredi 14 mai 2010 à 10:06 -0400, Michael Droettboom a écrit :
> Can you get a gdb backtrace?
>
> (Run "gdb python", then "run name_of_script.py", cause it to crash, and
> type "bt" in gdb console...)
Here is the backtrace:
(gdb) run test_plt.py
Starting program: /usr/bin/