> [...] I deduce from your approach that there is nothing
> built in. I am surprised [...]
When you mentioned it, so was I. From axes.py:
def set_default_color_cycle(clist):
"""
Change the default cycle of colors that will be used by the plot
command. This must be called
> On Mar 9, 2010, at 9 Mar, 1:52 PM, Alan G Isaac wrote:
> > I need a figure containing color line plots to
> > be changed to grayscale, cycling through line
> > styles instead of colors. How?
On 3/9/2010 10:45 PM, Chloe Lewis wrote:
> Here's a skeleton, for a series of lines that get darker an
Here's a skeleton, for a series of lines that get darker and more
solid (from past to present, as I use it):
from itertools import cycle
grey_linestyles = cycle(map(lambda tu:
dict(zip(('color','dashes'),tu)),(('0.5',(4,1,1,1)),('0.4',(2,1)),
('0.3',(5,1,2,1)),('0.2',(4,1)),('0.1',(6,1)),('0
I need a figure containing color line plots to
be changed to grayscale, cycling through line
styles instead of colors. How?
Thanks,
Alan Isaac
PSI suppose I searched the web ineffectively on this,
but I did try.
--
Dow