[Matplotlib-users] Matlab colormap to matplotlib

2010-08-13 Thread Filipe Fernandes
Hello list, I know that this is very simple for most of the people, but since it took some time to figure it out I'm sharing here. It's useful for those that, like me, have dozens of personalized colormaps in matlab r,g,b lists. def cmat2cmpl(r, g, b): """ Convert matlab style colorm

[Matplotlib-users] Stickplot (quiver) at the gallery

2010-08-09 Thread Filipe Fernandes
Hello list, Some time ago Stephane Raynaud answered my question on how to produce a stickplot using quiver: http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg15314.html Since then, I have been forwarding that to several people interested in producing such a plot. Maybe it

[Matplotlib-users] New subplots from 1.0 + shared axis

2010-08-09 Thread Filipe Fernandes
Hello list, I enjoyed the new feature: fig, axarr = plt.subplots(2, 2) However, I failed to understand how to use the shared axis option with this new feature. The docstring for sunplots has the "sharex(y) option", but my "ax" are being created now!? Is that a chicken and egg problem? Or I'm f

Re: [Matplotlib-users] Basemap white space

2010-04-08 Thread Filipe Fernandes
external linux program "xv". In the end I wanted to eliminate one external linux program (Imagemagik convert) but ended up with another one... Best, Filipe On 04/06/2010 05:01 PM, Friedrich Romstedt wrote: > 2010/4/5 Filipe Fernandes : >> Thanks a lot. In the end the "StringIO-

[Matplotlib-users] Dates on contour plots

2010-01-14 Thread Filipe Fernandes
Dear all, I new to matplotlib and I need some help with a very simple procedure. I've been successful to plot dates on the x-axis with the "plot" command. However, I've been unable to use dates with the contour and contourf commands. The command I'm using is: CS = contourf(time, depth, dens)