On 06/20/2012 04:38 AM, Francesco Montesano wrote:
> Dear list,
>
> it might be that this is not the best place to ask, but I guess that
> there are enough people with experience with colors.
>
> I think plots with nice colors and shaded areas are very nice, but for
> my publication I have to use eps files, that do not support
> transparency.
> The script below produce a figure like the one that I would like to
> make. If I save it as eps all the shaded areas are not transparent and
> the plot look ugly and unreadable.
>
> A way to emulate transparency that I've applied some time ago was to
> get the RGB value of the transparent color (with DigitalColor Meter on
> Mac) and to insert it by hand in fill_between, with a low value for
> the zorder option. The results was fine, but I don't like too much
> this approach, as any change in color or alpha value would require to
> go, get the new color, insert it and redo the figure.
>
> Is anyone aware of a way to obtain automatically a RGB color that on
> screen or printed looks similar to the corresponding RGBA?
>
> Thanks in advance,
> Francesco

Francesco,

Can't you achieve the same result more easily by saving as pdf and then 
using something like ghostscript to convert the pdf to eps?

Eric

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to