Re: [Matplotlib-users] how does imshow() represent numpy array with origin = "lower" keyword ?

2012-05-30 Thread Yasin Selçuk Berber
im getting that result. but just wanted to know, could "takes first row and put it most bottomthen take secondetc" expression be accepted as harmless or not. 2012/5/30 Tony Yu > > On Tue, May 29, 2012 at 5:31 AM, Yasin Selçuk Berber < > yasinber...@gmail.com> wrote: > >> >> Hi. I want to

Re: [Matplotlib-users] Looking for additional help about moving a legend

2012-05-30 Thread solarg
hello all, i've tried it on my laptop, but got this error at the last line: >>> fig.savefig('samplefigure', bbox_extra_artists=(lgd,), bbox_inches='tight') Traceback (most recent call last): File "", line 1, in File "/Users/me/python/virtualenv/bmfvca6/lib/python2.6/site-packages/matplo

Re: [Matplotlib-users] problem installing matplotlib on centos

2012-05-30 Thread Benjamin Root
On Wednesday, May 30, 2012, Amanda Stott wrote: > Hello, > > I am trying to build matplotlib from source on CentOS. I have installed > all the dependencies, including numpy, freetype, libpng, etc. I also have > both the C and C++ compiler (gcc and cgg-c++) installed in /usr/lib/. > However when ru

[Matplotlib-users] problem installing matplotlib on centos

2012-05-30 Thread Amanda Stott
Hello, I am trying to build matplotlib from source on CentOS. I have installed all the dependencies, including numpy, freetype, libpng, etc. I also have both the C and C++ compiler (gcc and cgg-c++) installed in /usr/lib/. However when running python setup.py install I get the following error mess

Re: [Matplotlib-users] how does imshow() represent numpy array with origin = "lower" keyword ?

2012-05-30 Thread Tony Yu
On Tue, May 29, 2012 at 5:31 AM, Yasin Selçuk Berber wrote: > > Hi. I want to make sure how imshow shows a numpy array as image. > > lets say below is our numpy data array where letter represent data values > and numbers represent row/col indices. > > 0 1 2 > 0 a b c > 1 d e f > 2 g h i > > and

[Matplotlib-users] how does imshow() represent numpy array with origin = "lower" keyword ?

2012-05-30 Thread Yasin Selçuk Berber
Hi. I want to make sure how imshow shows a numpy array as image. lets say below is our numpy data array where letter represent data values and numbers represent row/col indices. 0 1 2 0 a b c 1 d e f 2 g h i and lets think imshow's origin is default upper left. Now, if we show our data as an i

Re: [Matplotlib-users] griddata is not working after update to Python 2.7

2012-05-30 Thread Umut Yildiz
Dear Benjamin, Thanks for the reply. Apparently my Python 2.6 version was completely removed and I only have Python 2.7. My matplotlib and numpy are the latest versions. In matplotlib homepage, I found that meshgrid should do the same job, but I cannot make script to run it from a file. Is there a