Peter I. Hansen wrote:
Thanks for the script. I ran it through 0.90 and 0.91... Perhaps I
don't understand your problem with color. To my eyes, the plot
generated with Agg (to a PNG) and to a PDF look the same, in terms of
the color of the axvspans.
So, either your mpl installation is generating a different PDF than mine
(certainly possible), or I'm just not seeing the difference that is
bothering you (also possible). It could be that you are using a
different PDF viewer (I'm using Adobe Acrobat Reader 7.0 on Linux...)
I've attached the PDF I get from 0.90 on my machine. Does it look the
same as yours?
[This attachment was too large for the list and bounced... I'm bringing the conversation back to the list.]
Your output looks similar to mine. The thing that bothers me (and I
see that maybe I wasn't clear enough on that to begin with) is the
grainy way the colors look when printed.
That may be beyond matplotlib's control. Matplotlib "requests" a solid grey color, but the printing stack (Acrobat, the printer driver or the printer itself) could be interpreting that in many ways. You could experiment with various printer settings.
Sorry to not have a more helpful answer. Perhaps others on this list have suggestions.
On Nov 30, 2007 11:14 PM, Michael Droettboom <mdroe@...86...> wrote:
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA