Re: [Matplotlib-users] contourf() for "proper plotting purpose"

2013-05-22 Thread Nicolas Rougier
You can use the 'origin' keyword: pl.controuf(Matrix, origin='lower') or pl.controuf(Matrix, origin='upper') Nicolas On May 23, 2013, at 7:27 AM, Bakhtiyor Zokhidov wrote: > Hi, > > I have following code: > > import numpy as np > import pylab as pl > > Matrix(10,10) = > np.array([[ 4.

[Matplotlib-users] contourf() for "proper plotting purpose"

2013-05-22 Thread Bakhtiyor Zokhidov
Hi, I have following code: import numpy as np import pylab as pl Matrix(10,10) =  np.array([[ 4.5, 4.5, 4.5, 3.4, 2.5, 3.9, 3.4, 3.4, 2.2, 3.9], [ 3.9, 4.5, 5.2, 4.5, 3.4, 3.4, 2.2, 2.9, 3.4, 3.4], [ 3.9, 3.9, 2.5, 2.2, 1.9, 1.2, 1.2, 1.4, 2.5, 2.9], [ 3.4, 3.9, 2.9, 2.2, 1.2, 1.4, 1.7, 1.4, 1.