~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/metanet/save_graph.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
save_graph         Scilab Group         Scilab function          save_graph
 
2
NAME
 
3
   save_graph - saves a graph
 
4
  
 
5
CALLING SEQUENCE
 
6
 save_graph(g,path)
 
7
PARAMETERS
 
8
 g  : graph list
 
9
    
 
10
 name
 
11
     : string, the path of the graph to save
 
12
    
 
13
DESCRIPTION
 
14
   save_graph saves the graph g in a graph file. path is the name of the
 
15
  graph file where the graph will be saved. path can be the name or the
 
16
  pathname of the file; if the  "graph" extension is missing in path, it is
 
17
  assumed. If path is the name of a directory, the name of the graph is
 
18
  used as the name of the file.
 
19
  
 
20
EXAMPLE
 
21
 g=load_graph(SCI+'/demos/metanet/mesh100');
 
22
 show_graph(g);
 
23
 unix('rm mymesh100.graph')
 
24
 save_graph(g,'mymesh100.graph');
 
25
 g=load_graph('mymesh100');
 
26
 show_graph(g,'new');
 
27
SEE ALSO
 
28
   load_graph
 
29