Re: [Matplotlib-users] Malaren lake by Matplotlib Basemap

2009-10-25 Thread Jeff Whitaker
kkondo wrote: Hello I want to get the shoreline of Malaren lake as http://en.wikipedia.org/wiki/File:La3-demis-malaren.png. But I find that the following Matplotlib-Basemap program does not draw its shoreline but its islands. Is it the flaw of GSHHS? from mpl_toolkits.basemap import

[Matplotlib-users] Can't import pylab on Windows with C API

2009-10-25 Thread Nick Hilton
Hello all, I am trying to plot things from C using pylab. The configuration: Window XP 32 bits Python-2.6.3 numpy-1.3.0 matplotlib-0.99.1. I can easily do this on Linux, but the same code does not work on Windows. Here is a test program that tries to import pylab: #include stdio.h #include

[Matplotlib-users] bug with imshow() for matrix?

2009-10-25 Thread Dudel
Hi, I'm using 0.99.1.1 of matplotlib as provided by the latest Enthought Python Distribution. When I try to plot a matrix with pyplot.imshow() I get all kinds of error messages, unless vmin and vmax are specified. Plotting an array instead works. I.e.: y=matrix('1 2 3') imshow(y) #fails

[Matplotlib-users] Can't resize plot window on Mac

2009-10-25 Thread Skip Montanaro
I'm making progress with my little CSV file viewer. I'm doing this on my Mac, so to make things easier on myself I just installed the Enthought distribution, avoiding any issues about installing numpy, matplotlib, etc. As a result I'm using matplotlib 0.99.1.1. For the minimal gui I decided to

Re: [Matplotlib-users] bug with imshow() for matrix?

2009-10-25 Thread Eric Firing
Dudel wrote: Hi, I'm using 0.99.1.1 of matplotlib as provided by the latest Enthought Python Distribution. When I try to plot a matrix with pyplot.imshow() I get all kinds of error messages, unless vmin and vmax are specified. Plotting an array instead works. I.e.: y=matrix('1 2 3')

[Matplotlib-users] Adding-custom-axes-within-a-subplot redux

2009-10-25 Thread George Nurser
Hi, The excellent transformations tutorial http://matplotlib.sourceforge.net/users/transforms_tutorial.html explained exactly what I needed to do to include inserts in my figures. Furthermore, it suggested to me that I should be able to do without some very ugly code I had written to convert the

Re: [Matplotlib-users] Possible to get four y axes on a single plot?

2009-10-25 Thread Jae-Joon Lee
Using axes_grid toolkit is not recommended unless you're familiar with some of the internals of matplotlib. Instead, you should use spines. While the current example gallery does not have such an example, I just added one in the svn. The result should be identical to the axes_grid example. While