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.
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.
the following code runs ok with py2.4 and matplotlib.0.98.3
however no legend appears with py2.7.3 and matplotlib-1.2.1/1.3. and I get
[quote]
e:\prg\py\python-2.7.3\lib\site-packages\_matplotlib\matplotlib\legend.py:629: U
serWarning: Legend does not support [, , , , ]
Use proxy artist instead.
h
Hi,
I have problems with constrained rectangular zoom to x-y axis with
PyQt4 / PySide backend. When I use the "Zoom-to-rectangle" button of
the navigation toolbar while holding the x or y key, sometimes nothing
happens when the mouse is released. Constrained panning and
pan-zooming ("Pan/Zoom" but
ChaoYue wrote:
> Hi Martin,
>
> I don't know tight_layout quite well. Probably you could also split the
> handlers of the barplot into
> and 2 or 3 or 4 parts depending on the number, and then show them in sperate
> axes?
>
> then you create n+1 subplots for the whole figure?
No, the reason wh
Hi Martin,
I don't know tight_layout quite well. Probably you could also split the
handlers of the barplot into
and 2 or 3 or 4 parts depending on the number, and then show them in
sperate axes?
then you create n+1 subplots for the whole figure?
probably this is quite stupid.
cheers,
Chao
On
Hi Chao,
ChaoYue wrote:
> Dear Martin,
>
> I worked out a similar example for your reference as I don't catch your
> example very well.
I think you got the idea quite well.
>
> fig = plt.figure()
>
> ax1 = fig.add_subplot(211)