|
From: | Tamás Nepusz |
Subject: | Re: [igraph] plot() in python-igraph not giving graphic |
Date: | Mon, 23 Jun 2014 12:04:20 +0200 |
Hi, plot(g) should show the visualization as well - if it doesn't, it typically means that it cannot find a suitable image viewer on your system. The built-in detection mechanism is a bit "dumb" as it only tries to find one of those executables in your system path: eog, gthumb, gqview, kuickshow, xnview, display, gpicview, gwenview, qiv, gimv If neither of these is found, no plot will be shown. So, either you should install one of the above image viewers, or configure the one that you use in ~/.igraphrc by entering the following: [apps] image_viewer=/usr/bin/your-image-viewer Also, if you happen to use a standard Linux image viewer that igraph does not know about yet, let me know and I'll add it to the list of executables that igraph looks for. As another workaround, you can ask igraph to plot the graph into a PDF or PNG file as well: plot(g, "whatever.pdf") All the best, -- T. From: Stuti Rastogi address@hidden Reply: Help for igraph users address@hidden Date: 23 June 2014 at 08:08:27 To: address@hidden address@hidden Subject: [igraph] plot() in python-igraph not giving graphic
|
[Prev in Thread] | Current Thread | [Next in Thread] |