Home > matgraph > @graph > clear_labels.m

clear_labels

PURPOSE ^

clear_labels(g) --- delete all labels in g

SYNOPSIS ^

function clear_labels(g)

DESCRIPTION ^

 clear_labels(g) --- delete all labels in g

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function clear_labels(g)
0002 % clear_labels(g) --- delete all labels in g
0003 
0004 global GRAPH_MAGIC;
0005 % GRAPH_MAGIC.graphs{g.idx}.labels = cell(0);
0006 
0007 if isfield(GRAPH_MAGIC.graphs{g.idx},'labels')
0008     GRAPH_MAGIC.graphs{g.idx} = ...
0009         rmfield(GRAPH_MAGIC.graphs{g.idx},'labels');
0010 end

Generated on Fri 05-Feb-2010 13:55:18 by m2html © 2003