On Thu, Sep 29, 2011 at 11:56 PM, Uri Laserson <laser...@mit.edu> wrote:
> Hi all,
> Does anyone have a good solution for taking a line segment and coloring it
> according to some gradient (where the start and end colors are the only two
> things specified for the line coloring)?

This example shows how to apply a colormap to a line segment

http://matplotlib.sourceforge.net/examples/pylab_examples/line_collection2.html

JDH

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to