Re: [Matplotlib-users] closest neighbour?

2009-03-10 Thread Marjolaine Rouault
Hi Jeff, Yes, I think this is what I needed. Many thanks. Marjolaine. Jeff Whitaker jsw...@fastmail.fm 03/09/09 5:21 PM Marjolaine Rouault wrote: Hi, I am trying to extract a a line (or transect) of data across a 2 dimensional array. I want to know what the best way of finding data

[Matplotlib-users] closest neighbour?

2009-03-09 Thread Marjolaine Rouault
I create my own? Thanks a lot, Marjolaine. Marjolaine Rouault CSIR - NRE Research Group : Earth Observation 15 Lower Hope street, Rosebank 7700 South Africa Tel.: +27 (0) 21 658-2755 Fax: +27 (0) 21 658-2744 mroua...@csir.co.za -- This message is subject to the CSIR's copyright terms

Re: [Matplotlib-users] matplotlib.mlab PCA analysis

2009-02-11 Thread Marjolaine Rouault
of Chemometrics, v16, p408-418. Paper [1] deals with building a model with missing data, while paper [2] looks at applying an existing PCA model to new data that contains missing entries. Hope these help, Kevin Marjolaine Rouault wrote: Hi, I am struggling to do a PCA analysis on a masked array

[Matplotlib-users] matplotlib.mlab PCA analysis

2009-02-10 Thread Marjolaine Rouault
Hi, I am struggling to do a PCA analysis on a masked array. Anybody has suggestions on how to deal with masked array when doing PCAs? Best regards, Marjolaine. -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format

Re: [Matplotlib-users] interger to binary

2008-09-07 Thread Marjolaine Rouault
will return True or False for the given bit number, and this function works on numpy arrays. (Bits are numbered base-0 -- I don't know if that matches matlab). Hope that helps, Mike Marjolaine Rouault wrote: Hi, I was wondering if python has the equivalent of the matlab bitget.m function. I have

[Matplotlib-users] interger to binary

2008-09-05 Thread Marjolaine Rouault
Hi, I was wondering if python has the equivalent of the matlab bitget.m function. I have a large 2 dimensional variable of type uint32 which I must convert to binaries and then find if bit 23 of the binary for each point is 0 or 1. The matlab bitget function is ideal for that but I can't find

Re: [Matplotlib-users] creating colormaps

2008-07-10 Thread Marjolaine Rouault
Thanks Eric, That is much better. I am going to try and implement it now and see how I go. I will let you know. Regards, Marjolaine. Eric Firing [EMAIL PROTECTED] 07/09/08 11:12 PM Marjolaine Rouault wrote: Hi, I don't understand how one creates his own colormap. i am using matplotlib

[Matplotlib-users] creating colormaps

2008-07-09 Thread Marjolaine Rouault
Hi, I don't understand how one creates his own colormap. i am using matplotlib and I have checked the example in http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps but I can't really understand how it works. Are there any other examples out there? I want to create a colormap a bit like

[Matplotlib-users] Ubuntu Hardy and matplotlib

2008-06-17 Thread Marjolaine Rouault
Hi, I have tried reinstalling python-matplotlib and python-matplotlib-data as well as reinstalling python-gtk2 and none of this proposed solutions work. Still stuck unfortunately. I am thinking maybe my ubuntu is not right. Could you guys let me know which repositories you use and I could try

Re: [Matplotlib-users] Ubuntu Hardy and matplotlib

2008-06-17 Thread Marjolaine Rouault
Johan 2008/6/17 Marjolaine Rouault [EMAIL PROTECTED]: Hi, I have tried reinstalling python-matplotlib and python-matplotlib-data as well as reinstalling python-gtk2 and none of this proposed solutions work. Still stuck unfortunately. I am thinking maybe my ubuntu is not right. Could you guys

Re: [Matplotlib-users] Ubuntu Hardy and matplotlib

2008-06-15 Thread Marjolaine Rouault
Hi, Sorry to only get back to you now. I was away for the last couple of weeks. I will see if that is my problem when I am back at work. Thanks for the tip. Georg Holzmann [EMAIL PROTECTED] 05/30/08 9:00 PM Hallo! I am not managing to ge matplotlib to work with the new Ubuntu realease

[Matplotlib-users] Ubuntu Hardy and matplotlib

2008-05-30 Thread Marjolaine Rouault
Hi, I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 8.04. After I install the python-matplotlib package, I am not able to list my modules in the help() section and I can also not import pylab. As anyone ha that problem and found a solution? Thanks. -- This

Re: [Matplotlib-users] Ubuntu Hardy and matplotlib

2008-05-30 Thread Marjolaine Rouault
Python2.4, for example)? Do you have a /usr/lib/python2.5/site-packages/matplotlib directory? What is the exact error message when you import pylab? Cheers, Mike Marjolaine Rouault wrote: Hi, I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 8.04. After I install