igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] problem saving to postscript file-- edges don't show up


From: Susan Biancani
Subject: Re: [igraph] problem saving to postscript file-- edges don't show up
Date: Fri, 1 Jun 2012 00:17:33 -0700

Yes, you're right. In the first line I set some nodes to be semi-transparent. Changing that fixed the problem. Thank you!

On Wed, May 30, 2012 at 9:50 PM, Gábor Csárdi <address@hidden> wrote:
On Thu, May 31, 2012 at 12:44 AM, Susan Biancani <address@hidden> wrote:
> I'm trying to save a plot of a graph as a postscript file, but when I open
> the file in Adobe Illustrator, it has no edges. I get a warning when I
> execute my code. Here are the code and the warning:
[...]
> E(g.art)$color <- rgb(red=0, green=0, blue=0, alpha=0.1)
[...]
> Warning message:
> In segments(x1, y1, x2 + r.seg * cos(th.seg)/uin[1], y2 + r.seg *  :
>   semi-transparency is not supported on this device: reported only once per
> page

Here is the problem. You cannot have semi-transparent edges in
postscript files. alpha must be 1 for the edge color. If you want some
kind of light grey color, set red, green and blue to (say) 0.8. If you
really want transparency, then create a PDF file instead, that
probably supports transparency. You can probably convert it to
postscript with keeping the transparent edges.

[...]
> Only the edges were semi-transparent, so I tried setting alpha=1 for the
> edges, but I get the same results. Has anyone dealt with something like this
> before?

If you really tried alpha=1, then something else is going on, but
could you try again with alpha=1, just to be sure.

Gabor

> Thanks,
> Susan
[...]

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help


reply via email to

[Prev in Thread] Current Thread [Next in Thread]