Please excuse the simple questions.
i) Is it possible to draw step functions in matplotlib, i.e instead of
joining points with lines, using steps instead. In R
(http://cran.r-project.org) this would be done with something like,
type='s'. I can think of a simple hack to do it, but thought it might
exist in pylab, but couldn't find an example.
ii) Masking in imshow: I want to plot a 2d image, but only show a
particular region, setting the rest black (or some other color). Is
there a way to get to the RGB data that is output from the colormap to
explicitly set some regions black? Or maybe change the alpha level in
Jonathan Taylor Tel: 650.723.9230
Dept. of Statistics Fax: 650.725.8977
Sequoia Hall, 137 www-stat.stanford.edu/~jtaylo
390 Serra Mall
Stanford, CA 94305