I want to:
1. Have matplotlib assign the linecolor for a plot
2. Read the linecolor with .get_color()
3. Create another plot with the linecolor set to a lighter version of
the previous linecolor.
Ie:
a, = plot(x,y)
a.get_color() = 'b'
b, = plot(x,y, color = #xx)
Since I'm only using the
On Wed, Nov 16, 2011 at 5:35 PM, Jonno jonnojohn...@gmail.com wrote:
I want to:
1. Have matplotlib assign the linecolor for a plot
2. Read the linecolor with .get_color()
3. Create another plot with the linecolor set to a lighter version of
the previous linecolor.
Ie:
a, = plot(x,y)
On Sun, Apr 11, 2010 at 12:40 PM, Peter Butterworth butt...@gmail.com wrote:
sorry if this has been covered before, but I must say I've found the
following quite confusing :
color=cyan is not in fact equivalent to color='c'
in colors.py :
Commands which take color arguments can use
On Wed, Apr 14, 2010 at 2:14 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote:
John, the relevant code to define the colors attribute seems to be
written by you. Maybe this is some matlab convention? Can you comment
on this?
The original color letters did come from matlab, and some of the color
John Hunter wrote:
On Wed, Apr 14, 2010 at 2:14 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote:
John, the relevant code to define the colors attribute seems to be
written by you. Maybe this is some matlab convention? Can you comment
on this?
The original color letters did come from matlab,
matlab colors seem to follow html :
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colorspec.html
I would agree that yellow is not very readable at all. Could
possibly the short-hand colors be made user configurable in
.matplotlibrc to suit individual taste ?
In any case, this issue
On Thu, Apr 15, 2010 at 5:16 AM, Peter Butterworth butt...@gmail.com wrote:
matlab colors seem to follow html :
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colorspec.html
for c, m, y
but not for green, where matplotlib does follow html ...
sorry if this has been covered before, but I must say I've found the
following quite confusing :
color=cyan is not in fact equivalent to color='c'
in colors.py :
Commands which take color arguments can use several formats to specify
the colors. For the basic builtin colors, you can use a