File: load_graph.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (25 lines) | stat: -rw-r--r-- 727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
load_graph         Scilab Group         Scilab function          load_graph
NAME
   load_graph - loads a graph
  
CALLING SEQUENCE
 g = load_graph(name)
PARAMETERS
 name  : string, the path of the graph to load
       
 g     : graph list
       
DESCRIPTION
   name is the name of a graph file which contains the ASCII  description of
  a graph. Such a file must have the "graph" extension. name can be the
  name or the pathname of the file; if the  "graph" extension is missing in
  name, it is assumed. load_graph returns the corresponding graph list.
  
EXAMPLE
 g=load_graph(SCI+'/demos/metanet/mesh100.graph');
 show_graph(g);
 g=load_graph(SCI+'/demos/metanet/colored');
 show_graph(g,'new');
SEE ALSO
   save_graph