matplotlib python: How do you change the background color of a line plot
according to a given column? Say I have the following data file

1. 0
4. 0
2. 0
1. 1
2. 1
3. 1
3. 2
1. 2
2. 2

The first column represents the y-values, and the 2nd column should control
the background color. Say, it plots the (black) line on a white-gray
alternating background (zebra-like) as proceeding further in x-direction,
where the transition in color occurs anytime the integer in the 2nd column
increments. Or other possible solution: Use 2nd column as function argument
to determine background color.

How would one do this with matlibplot?

Frank
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to