Code covered by the BSD License  

Highlights from
Matgraph

from Matgraph by Ed Scheinerman
Toolbox for working with simple, undirected graphs

Description of bucky
Home > matgraph > @graph > bucky.m

bucky

PURPOSE ^

bucky(g) --- overwrite g with the Buckyball graph (and give a nice

SYNOPSIS ^

function bucky(g)

DESCRIPTION ^

 bucky(g) --- overwrite g with the Buckyball graph (and give a nice
 embedding).

CROSS-REFERENCE INFORMATION ^

This function calls:
  • bucky bucky(g) --- overwrite g with the Buckyball graph (and give a nice
  • embed embed --- create an embedding for a graph
  • full full(g) --- convert internal storage for g to full
  • set_matrix set_matrix(g,A) --- set g to be the graph specificed in the matrix A.
This function is called by:
  • bucky bucky(g) --- overwrite g with the Buckyball graph (and give a nice

SOURCE CODE ^

0001 function bucky(g)
0002 % bucky(g) --- overwrite g with the Buckyball graph (and give a nice
0003 % embedding).
0004 
0005 [A,xyz] = bucky;
0006 set_matrix(g,full(A));
0007 embed(g,2*xyz(:,1:2));

Generated on Thu 13-Mar-2008 14:23:52 by m2html © 2003

Contact us at files@mathworks.com