Jae-Joon Lee wrote
> On Thu, Sep 15, 2011 at 10:33 PM, Jonathan Slavin
> <
> jslavin@.harvard
> > wrote:
>> I'm wondering if there is some way to do cross hatching as a way to fill
>> contours rather than colors (using contourf). The only references to
>> cross hatching I see in the documentatio
As of matplotlib v1.2.0 you can hatch a contour set directly. There is an
example in the gallery:
http://matplotlib.org/examples/pylab_examples/contourf_hatching.html
Hope that helps,
Phil
On 5 December 2012 17:28, spencerahill wrote:
> Jae-Joon Lee wrote
> > On Thu, Sep 15, 2011 at 10:33 PM
Hi,
I've been trying to plot a line with varying alpha (but constant color). After
much googling I have come up with the following code segment, which by all
indications should work. It works when I vary an individual RGB element, but
not when I vary alpha.
On Wed, Dec 5, 2012 at 2:36 PM, Oliver King wrote:
> What appears to be happening is that the alpha values in the cmap I use when
> I create the ListedColormap object are being ignored by the add_collection
> function. I see that this bug (or something quite like it) was reported in
> late 2008
> What is your matplotlib.__version__ ? I think that code only made it's
> way into v1.2.0 (the latest stable), and was did not make it into
> v1.1.1 (or anything before it)
I'm running 1.1.0 - I'll upgrade it now. Thanks for the help!
Oliver
I have a time series of 32-bit unsigned integers in the form of a
numpy array with dtype=numpy.uint32. The bits of each integer in
array correspond to various boolean states collected during an
experiment. I would like to make a plot this data in the following
way:
1) time on the horizontal axis