Seems like this question is answered already on Stack Overflow:

http://stackoverflow.com/questions/14164887/change-the-font-and-colour-of-the-igraph

Basically, get rid of the "main=..." argument and use the title() command 
instead:

title("This is my first igraph", cex.main=3, col.main="green")

Cheers,
Tamas

On 4 Jan 2013, at 21:09, Mike Dylan <[email protected]> wrote:

> sorry for this simple question but I couldnt find any info on it. I would 
> like to be able to change the font color and size of the title of the igraph, 
> how would I do this? I have the following:
>  
> plot(g, layout =  layout.kamada.kawai,  vertex.label = V(g)$name,  
> vertex.label.color= "darkblue",edge.arrow.size=0.5,  edge.curved=T, 
> edge.label=E(g)$Freq, edge.label.color="#F900F9", 
> edge.label.font=5,vertex.shape="rectangle",edge.color="darkgreen", 
> vertex.color="red", asp=0, margin=0, main="This is my first igraph")
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help


_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to