Daniel@0: function S=vis_grid_struct Daniel@0: Daniel@0: % VIS_GRID_STRUCT Initiates and returns a default grid struct Daniel@0: % Daniel@0: % S = vis_grid_struct Daniel@0: % Daniel@0: % Output arguments: Daniel@0: % S (struct) som_grid struct Daniel@0: % Daniel@0: % Fields and their initial values: Daniel@0: % S.type='som_grid'; Daniel@0: % S.neigh=neigh; Daniel@0: % S.shape='sheet'; Daniel@0: % S.msize=msize; Daniel@0: % S.coord=[]; Daniel@0: % S.line='-'; Daniel@0: % S.linecolor=[.8 .8 .8]; Daniel@0: % S.linewidth=0.5; Daniel@0: % S.marker='o'; Daniel@0: % S.markersize=6; Daniel@0: % S.markercolor='k'; Daniel@0: % S.surf=[]; Daniel@0: % S.label=[]; Daniel@0: % S.labelcolor='g'; Daniel@0: % S.labelsize=12; Daniel@0: % Daniel@0: % This is a subfunction for SOM_GRID. Daniel@0: Daniel@0: % Copyright (c) 1999-2000 by the SOM toolbox programming team. Daniel@0: % http://www.cis.hut.fi/projects/somtoolbox/ Daniel@0: Daniel@0: % Version 2.0beta Johan 090499 Daniel@0: Daniel@0: S.type='som_grid'; Daniel@0: S.neigh='hexa'; Daniel@0: S.shape='sheet'; Daniel@0: S.msize=[1 1]; Daniel@0: S.coord=[]; Daniel@0: S.line='-'; Daniel@0: S.linecolor=[.8 .8 .8]; Daniel@0: S.linewidth=0.5; Daniel@0: S.marker='o'; Daniel@0: S.markersize=6; Daniel@0: S.markercolor='k'; Daniel@0: S.surf=[]; Daniel@0: S.label=[]; Daniel@0: S.labelcolor='g'; Daniel@0: S.labelsize=12;