|
From: John H. <jdh...@ac...> - 2005-08-03 10:25:48
|
>>>>> "Steve" == Steve Schmerler <el...@gm...> writes:
Steve> Hi I had some issues with marker plots and automatic color
Steve> cycling.
Steve> gives only black crosses. It would be nice if someone could
Steve> please try this out. My guess is that the "o"s and "v"s do
Steve> have some kind of black margin and a (colored) filling area
Steve> which the "+"s and "x"s dont't have. If that's right then
Steve> anyone should see this behavior. Thanx for your help.
As noted by Christian, the reason for this discrepancy is that '+' is
not filled and 'o' is. filled marker colors are governed by their
'markeredgecolor' and 'markerfacecolor'. line styles are goverened by
'color'. Thus it is not entirely trivial to determine how these three
colors should behave in automatic color cycling. For example, for
filled markers, you might want the face color to automatically cycle
and the edge colors to remain black (or more precisely, their default
rc value). For non-filled markers, which do not have a facecolor, you
might want the edge color to cycle.
Could you specify how you think this should behave? My guess is that
this is sufficiently complicated that different people will want
different default behaviors. As you posted earlier, it is pretty
simple to force the kind of cycling you want in your own code. But if
you can spell out a clear policy of how *it should* work, and there
seems to be a consensus on this, or at least no objection, I can take
a stab at implementing it in the axes code. You can take a look
yourself if you want Axes._process_plot_var_args and
Axes._process_plot_format.
JDH
|