[Matplotlib-users] multiple annotation in one line

2010-07-07 Thread Bala subramanian
Friends 1) Excuse me if this questions is posted already. I have to make 5 to 6 annotations in my figure. Is there any way that i can make all of them in one shot instead of writting a separate line of code for each of them. for instance plot function accepts a series of x,y data. Is it possible

Re: [Matplotlib-users] ANN: matplotlib 1.0.0

2010-07-07 Thread Dharhas Pothina
Contour fixes and and triplot: Additionally, he has contributed a new module matplotlib.tri and helper function triplot for creating and plotting unstructured triangular grids. See http://matplotlib.sf.net/api/pyplot_api.html#matplotlib.pyplot.triplot for the function and

Re: [Matplotlib-users] ANN: matplotlib 1.0.0

2010-07-07 Thread John Hunter
On Wed, Jul 7, 2010 at 12:46 AM, Jason Grout jason-s...@creativetrax.com wrote: Wow, this is great news!  Thanks to everyone that has worked on this! I tried to find the html5/canvas backend in the 1.0.0 tarball.  Is it included in matplotlib?  The heading What's new *in* matplotlib 1.0 makes

[Matplotlib-users] remove matplotlib

2010-07-07 Thread Samuel Teixeira Santos
Hi all on my server (ubuntu 8.04 lts) I installed matplotlib and was that kind of installation who compile various files with gcc, gfortran and so on now I wanna remove them to install the new version... could anyone help me with this? because I don't wann to do something who could be bad to

[Matplotlib-users] install from svn, pick correct of two numpy header locations

2010-07-07 Thread Angus McMorland
Hi all, I'm trying to install matplotlib from svn. I have two versions of numpy on my computer: one installed by the Ubuntu package manager in /usr/lib and one installed from source in /usr/local/lib which takes precedence based on the order of my PYTHONPATH. I'm trying to install the latest

Re: [Matplotlib-users] remove matplotlib

2010-07-07 Thread Benjamin Root
Samuel, Fortunately, matplotlib keeps all of the files that it compiles with the python files that it installs. On Ubuntu, I believe that the installation directory was /usr/lib/python2.?/dist-packages/matplotlib* (note, I don't remember the exact version of python and the exact name of the

Re: [Matplotlib-users] Matplotlib 1.0 and Python 2.7

2010-07-07 Thread David Grudoski
Thanks for the info I'll give it a try. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

Re: [Matplotlib-users] install from svn, pick correct of two numpy header locations

2010-07-07 Thread Eric Firing
On 07/07/2010 04:25 AM, Angus McMorland wrote: Hi all, I'm trying to install matplotlib from svn. I have two versions of numpy on my computer: one installed by the Ubuntu package manager in /usr/lib and one installed from source in /usr/local/lib which takes precedence based on the order of

Re: [Matplotlib-users] install from svn, pick correct of two numpy header locations

2010-07-07 Thread John Hunter
On Wed, Jul 7, 2010 at 12:12 PM, Eric Firing efir...@hawaii.edu wrote: On 07/07/2010 04:25 AM, Angus McMorland wrote: Hi all, I'm trying to install matplotlib from svn. I have two versions of numpy on my computer: one installed by the Ubuntu package manager in /usr/lib and one installed from

Re: [Matplotlib-users] install from svn, pick correct of two numpy header locations

2010-07-07 Thread Angus McMorland
On 7 July 2010 14:00, John Hunter jdh2...@gmail.com wrote: On Wed, Jul 7, 2010 at 12:12 PM, Eric Firing efir...@hawaii.edu wrote: On 07/07/2010 04:25 AM, Angus McMorland wrote: Hi all, I'm trying to install matplotlib from svn. I have two versions of numpy on my computer: one installed by

Re: [Matplotlib-users] installation of matplotlib on OS X 10.5 with python.org Python 2.6

2010-07-07 Thread Friedrich Romstedt
resending to the list too, fwiw. 2010/7/5 Stephen T. obsessiv...@hotmail.com: Hi, I am having trouble installing matplotlib. I have OS X 10.5 with Python 2.6 downloaded and installed from python.org. (10.5 came with Apple Python 2.5). I've also installed NumPy and SciPy for Python 2.6. Since

[Matplotlib-users] hammer/aitoff projection-changing the axis

2010-07-07 Thread abbb
Hi there, I am trying to rotate the axis of my hammer plot. They are set to span from -pi to pi along the x-axis and pi/2 to -pi/2 on the y-axis, however, I would like the axis to go from 0 to 2*pi on the x-axis. I am using this for the first time, my code is just: subplot(111,

[Matplotlib-users] Matplotlib 1.0 dateutils missing on MacOS X

2010-07-07 Thread Edward Barnard
Hi All I had a problem installing matplotlib 1.0.0 on MacOS X 10.6 using python.org 2.6.5 with the binary installer (dmg). When importing pylab, datautils was missing. I fixed that by easy_installing python-dateutils, but it seems like it should be included in the installer or listed in the

Re: [Matplotlib-users] contourf shows a unwanted white space

2010-07-07 Thread Benjamin Root
Bala, the white space you see is due to contourf trying to have the axes ticks end on a round number. If you don't want that behavior, you can set the limits of the plot after calling contourf() with something like this: contourf(X, Y, Z) xlim(x_min, x_max) ylim(y_min, y_max) presuming you

[Matplotlib-users] Updating Scatter Plot data

2010-07-07 Thread Aman Thakral
Hi, I was just curious if there is a way to update the data for a scatter plot similar to the set_data function for a axes.plot object? The reason is because I need to update a scatter plot at various zoom levels and colors/distribution of the circles will change with the zoom level. I looked

Re: [Matplotlib-users] Updating Scatter Plot data

2010-07-07 Thread Aman Thakral
I found one method to work around this. I iterate through the list of collections by accessing the axes.collections list and checking to see if the type of the collection is a CircleCollection. If so, I remove the item then redraw the collection for the appropriate zoom level. This doesn't

Re: [Matplotlib-users] hammer/aitoff projection-changing the axis

2010-07-07 Thread Benjamin Root
Try out the xlim() function. It can take a tuple of values, or two arguments. Ben Root On Wed, Jul 7, 2010 at 4:57 AM, abbb ab...@sussex.ac.uk wrote: Hi there, I am trying to rotate the axis of my hammer plot. They are set to span from -pi to pi along the x-axis and pi/2 to -pi/2 on the

[Matplotlib-users] Plot irregular spaced data

2010-07-07 Thread Ross Williamson
Hi Everyone I think I'm being dumb but I have a set of 2d data (2d array) z (100x100) which I need to plot - I have a nominal set of x and y positions say: x = linspace(0,100) y = linspace(0,100) Now the actual positions of the points in z are given by the following: -- Ross Williamson

[Matplotlib-users] plotting irregular spaced data

2010-07-07 Thread Ross Williamson
Hi Everyone I think I'm being dumb but I have a set of 2d data (2d array) z (100x100) which I need to plot - I have a nominal set of x and y positions say: x = linspace(0,100) y = linspace(0,100) Now the actual positions of the points in z are given by the following: u,v = meshgrid(x,y) phi =

Re: [Matplotlib-users] plotting irregular spaced data

2010-07-07 Thread Benjamin Root
imshow requires the data to be regularly spaced. use pcolor instead. Also, to be clear, pcolor() can take 1-D X and Y arguments, but only if it is regular. If the coordinates are irregular, then you need to use 2D X and Y arguments. Ben Root On Wed, Jul 7, 2010 at 5:15 PM, Ross Williamson

Re: [Matplotlib-users] remove matplotlib

2010-07-07 Thread Scott Sinclair
On 7 July 2010 19:02, Eric Firing efir...@hawaii.edu wrote: On 07/07/2010 05:01 AM, Benjamin Root wrote: Samuel, Fortunately, matplotlib keeps all of the files that it compiles with the python files that it installs. On Ubuntu, I believe that the installation directory was