users guide figure 2.15

===== Original message from John Hunter | Wed, 04 May 2005:

Amazing so few lines produce such a cool looking figure, no?

yes, the transparency is useful for giving the plotted data
an extra dimension, both aesthetic and beeing able to show
more in one plot. try doing this in MATLAB, R or gnuplot.

i'm struggling with something related to this plot i'm
working on, and it's a bit stupid, i think, to ask, and
i don't know if it's a matplotlib problem:

i want to create a new vector containing the minimum value
from each row in a matrix, and i've tried

from pylab import *
xmin = min(x, axis=1)
xmin = min(transpose(x))

but either i get error messages, or unexpected results.

Vidar Gundersen wrote:

i want to create a new vector containing the minimum value
from each row in a matrix, and i've tried

from pylab import *
xmin = min(x, axis=1)
xmin = min(transpose(x))

there may be a shortcut on numerix, but he Numeric way to write this is:

xmin = minimum.reduce(x, axis=1)

-Chris

ยทยทยท

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...