Re: [Matplotlib-users] zorder for individual points in a scatter plot on a Basemap

2010-06-29 Thread Aman Thakral
Hi, Thanks for the suggestions. I also came the same conclusion about ordering the arrays before hand. This did the trick for the zorder, but I also have to make the marker unique for each data point. I need to keep everything into one artist since I'm using a pick event to display the data repr

[Matplotlib-users] matplotlib 1.0 release candidate 1 available for testing

2010-06-29 Thread John Hunter
We have uploaded a tarball and Windows and OSX binaries of matplotlib-1.0rc for testing http://drop.io/xortel1# Please report bugs to the tracker: http://sourceforge.net/tracker2/?group_id=80706 A few highlights: * Closed over 100 bugs in past three months -- largely due to the heroic effor

Re: [Matplotlib-users] zorder for individual points in a scatter plot on a Basemap

2010-06-29 Thread Jeff Whitaker
On 6/29/10 1:19 PM, Thomas Lecocq wrote: Hi, What about ordering the arrays before plotting ? Are the first elements drawn back to front ? Thomas ** Thomas Lecocq Geologist Ph.D.Student (Seismology) Royal Observatory of Belgium ** --

Re: [Matplotlib-users] Displaying the gradient of an image

2010-06-29 Thread Thomas Lecocq
Hi, You can also use Numpy.gradient to compute the gradient , if e.g. your dx and dy aren't the same. Cheers, Thom ** Thomas Lecocq Geologist Ph.D.Student (Seismology) Royal Observatory of Belgium ** > Date: Tue, 29 Jun 2010 16:28:11 +02

Re: [Matplotlib-users] zorder for individual points in a scatter plot on a Basemap

2010-06-29 Thread Thomas Lecocq
Hi, What about ordering the arrays before plotting ? Are the first elements drawn back to front ? Thomas ** Thomas Lecocq Geologist Ph.D.Student (Seismology) Royal Observatory of Belgium ** Date: Mon, 28 Jun 2010 12:55:22 -0400 From: athak..

[Matplotlib-users] Matplotlib training requirement

2010-06-29 Thread SurendraMohan J
HI, One of our client needs training requirement on MatPlotLib software" which is used to plot graphs in Hyderabad. If you are comfortable to handle this training please send us your updated profile, course content with commercials ASAP. Revert back for any clarifications. Have

[Matplotlib-users] colorbar rescaling

2010-06-29 Thread Alexander Dietz
Hi, I hope someone can answer this colorbar related question. I have a plot, to which I am drawing a colorbar. The standard colorbar ranges from the values -1 (blue) over 0 (green) to e.g. 1(red). So far so good. But now I want to change the colorbar that it shows only the colors between 0 and 1

[Matplotlib-users] zorder for individual points in a scatter plot on a Basemap

2010-06-29 Thread Aman Thakral
Hi, I'm currently using a scatter plot on a Basemap and I'd like to set the zorder of the individual points based on their temperature. The higher the temperature, the higher the zorder. Also, i'm using a colorbar to set the colors for the plot. Here is a snippet of my code: x =

Re: [Matplotlib-users] abort trap

2010-06-29 Thread Ranjit Chacko
I finally got it to work. I did the compilation of matplotlib with: sudo make -f make.osx fetch deps mpl_build mpl_install sudo python setup.py install as described here: http://blog.hyperjeff.net/?p=160 The first command correctly compiled matplotlib but installed it to /usr/local. The second co

Re: [Matplotlib-users] abort trap

2010-06-29 Thread Ranjit Chacko
I just recompiled freetype-2.4.12 and checked the version of /usr/local/lib/libfreetype.6.dylib with otool -l: Load command 3 cmd LC_ID_DYLIB cmdsize 64 name /usr/local/lib/libfreetype.6.dylib (offset 24) time stamp 1 Wed Dec 31 16:00:01 1969 current version 11.0.0

[Matplotlib-users] Minor tick labels

2010-06-29 Thread Bartosz Telenczuk
Hi all, I am trying to change the labels of minor ticks, but leave the labels of the major ticks unchanged. To do this, I use the following function: ax = plt.subplot(111) ax.set_xticks([1,3,5]) ax.set_xticks([2,4], minor=True) ax.set_xticklabels(["a", "b"], minor=True) However, in result of th

Re: [Matplotlib-users] Displaying the gradient of an image

2010-06-29 Thread Mathieu Dubois
Hello, I finally found the solution. It's as simple as: figure(); imshow(img); pylab.quiver(U, V, units='x'); Mathieu -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit

[Matplotlib-users] matplotlib in interactive mode from a script

2010-06-29 Thread ninjasmith
hi there, I've got a bit stuck with running matplotlib in interactive mode. maybe what I want to do can't be done easily. want I want is a simple python script which I can run with a file argument. this will then create some plots. the script will wait for user input (via sys.stdin.readline()

Re: [Matplotlib-users] Build failure of SVN8415 on Solaris 10 SPARC

2010-06-29 Thread John Hunter
On Fri, Jun 11, 2010 at 8:49 PM, Eric Firing wrote: >> Do you have access to Sun SPARC hardware? If not, I can almost certainly >> arrange >> access to a Sun T5240 (16 core) at the University of Washington for a serious >> matplotlib developer. > > Dave, > > Thanks, but much as I would like to s

Re: [Matplotlib-users] colorbar rescaling

2010-06-29 Thread Alexander Dietz
Hi Friedrich, thanks a lot, that was exactly what I was looking for... Alex On Mon, Jun 28, 2010 at 23:00, Friedrich Romstedt < friedrichromst...@gmail.com> wrote: > 2010/6/28 Alexander Dietz : > > I have a plot, to which I am drawing a colorbar. The standard colorbar > > ranges from the value

[Matplotlib-users] Displaying the gradient of an image

2010-06-29 Thread Mathieu Dubois
Hello, I'm playing with some image processing algorithm (HOG descriptor) and I'm a bit lost. I am a newbie in image processing (especially in python). I have computed the vertical and horizontal gradients of an image (convolution with [-1, 0, 1] on the 0 and 1 axis respectively). After that I

Re: [Matplotlib-users] abort trap

2010-06-29 Thread Friedrich Romstedt
2010/6/29 Ranjit Chacko : > I tried again by compiling version 2.4.11 of freetype instead of the latest > and recompiling matplotlib with that and now I get the following less severe > error: >   Reason: Incompatible library version: ft2font.so requires version 11.0.0 > or later, but libfreetype.6.