[Matplotlib-users] grayscale function

2009-05-14 Thread darkside
Hello, First of all, I'm so sorry if I make a silly question or if it's explained anywhere, buy I can't find help. I have to do a grayscale figure for the function show in fig1, using a density function, and obtain the picture from fig2. I have tried a lot of things, but at the end I don't know ho

Re: [Matplotlib-users] grayscale

2007-11-12 Thread Steve Schmerler
Johann Cohen-Tanugi wrote: > hello, > is there a quick way to get a figure in greyscale? You can do something like plot([1,2,3], color='0.9'), where the string '0.9' denotes the gray scale of the plotted line. See also `help plot`, `help colors`. -- cheers, steve Random number generation is th

[Matplotlib-users] grayscale

2007-11-12 Thread Johann Cohen-Tanugi
hello, is there a quick way to get a figure in greyscale? thanks, Johann - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files