igraph-help
[Top][All Lists]
Advanced

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

[igraph] rglplot edge labels


From: DANA MASTROVITO
Subject: [igraph] rglplot edge labels
Date: Tue, 1 Jul 2014 15:16:02 -0400

Hello,

I have created a graph in igraph using the graph.edgelist constructor.  I would like to plot the graph in 3 dimensions using rglplot.  I have successfully created the plot, however I have been unable to include edge labels in the plot.  When I include the

edge.label = labelnames

in the rglplot command I get the error:

Error in layout[,4] : subscript out of bounds

However, if I use the same labelnames variable and plot the graph in 2 dimensions there is no error. 

The labelnames variable is an array of 23 elements and the edge list variable is a matrix with dimension 23,2

Can you tell me what I am doing wrong.

Thank you.
Sincerely,
Dana



reply via email to

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