File: plot.md

package info (click to toggle)
r-cran-igraph 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,772 kB
  • sloc: ansic: 206,420; cpp: 21,827; fortran: 4,090; yacc: 1,229; lex: 518; sh: 52; makefile: 8
file content (9 lines) | stat: -rw-r--r-- 278 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# layout as graph attribute error works

    Code
      plot(g)
    Condition
      Error in `plot()`:
      ! The layout has 5 rows, but the graph has 10 vertices.
      i It is recommended to store the layout as x and y vertex attributes and not as a matrix graph attribute.