Re: [Matplotlib-users] filled step plot?

2013-01-28 Thread Pierre Haessig
Hi, Le 27/01/2013 00:35, Skipper Seabold a écrit : This has been asked before, and I just filed a ticket [1]. Can anyone think of a better way to do something like this? The fill_between below is pretty suboptimal IMO. I feel that adding a filled step plot would indeed be useful. Just

[Matplotlib-users] Problems installing matplotlib - compiling error

2013-01-28 Thread Orgun
Hi guy, as I'm new to matplotlib I tried to install it following the instructions on http://matplotlib.org/faq/installing_faq.html#source-install-from-git http://matplotlib.org/faq/installing_faq.html#source-install-from-git . After downloading and changing the directory properly I get the

Re: [Matplotlib-users] Problems installing matplotlib - compiling error

2013-01-28 Thread Paul Hobson
On Mon, Jan 28, 2013 at 10:20 AM, Orgun ambr...@gmail.com wrote: Hi guy, as I'm new to matplotlib I tried to install it following the instructions on http://matplotlib.org/faq/installing_faq.html#source-install-from-git http://matplotlib.org/faq/installing_faq.html#source-install-from-git

Re: [Matplotlib-users] Problems installing matplotlib - compiling error

2013-01-28 Thread Orgun
Thanks, that helped a lot! I don't know why the dev-package hasn't been installed. That has been the first think I thought I did when re-installing after my latest hardware change in December. Thanks a lot. That saved my day. Christian -- View this message in context:

Re: [Matplotlib-users] Problems installing matplotlib - compiling error

2013-01-28 Thread Michael Droettboom
As a shortcut, you can also install all of the build dependencies for a package (without installing the package itself) using: sudo apt-get build_dep python-matplotlib Mike On 01/28/2013 01:40 PM, Orgun wrote: Thanks, that helped a lot! I don't know why the dev-package hasn't been

Re: [Matplotlib-users] Problems installing matplotlib - compiling error

2013-01-28 Thread Sandro Tosi
On Mon, Jan 28, 2013 at 9:05 PM, Michael Droettboom md...@stsci.edu wrote: sudo apt-get build_dep python-matplotlib small typo fix: the option name is 'build-dep'. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian:

Re: [Matplotlib-users] Problems installing matplotlib - compiling error

2013-01-28 Thread Orgun
Hi, yeah, during my system re-install I used the built-dep option but maybe I was to busy to notice that I forgot the p3-dev's. Now everything is running fine and the last two hours were enlighting. Christian -- A little learning never caused anyone's head to explode. No trees were killed in

Re: [Matplotlib-users] Baseline of TeX fonts

2013-01-28 Thread Jae-Joon Lee
I guess you have text.usetex=True? In this case, the baselines are not correct unless you also set text.latex.preview as True. For example, try to add following line in your rc file. text.latex.preview : True (You also need preview.sty installed) If this does not solve the problem, please post

Re: [Matplotlib-users] Subaxes deletion issue

2013-01-28 Thread Jae-Joon Lee
The divider thing from axes_grid toolkit is primarily designed for a static layout. So, it may become quite tricky when you want to adjust the layout dynamically. Here is a modified version your code that I think does what you want. from matplotlib.figure import Figure from

[Matplotlib-users] Plot trajectories on an map using matplotlib-basemap

2013-01-28 Thread Boris Vladimir Comi
#! /usr/bin/python import numpy as np data = np.loadtxt('path-tracks.csv',dtype=np.str,delimiter=',',skiprows=1) print data [['19.70' '-95.20' '2/5/04 6:45 AM' '1' '-38' 'CCM'] ['19.70' '-94.70' '2/5/04 7:45 AM' '1' '-48' 'CCM'] ['19.30' '-93.90' '2/5/04 8:45 AM' '1' '-60' 'CCM']