annotate toolboxes/MIRtoolbox1.3.2/somtoolbox/vis_grid_struct.m @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
rev   line source
Daniel@0 1 function S=vis_grid_struct
Daniel@0 2
Daniel@0 3 % VIS_GRID_STRUCT Initiates and returns a default grid struct
Daniel@0 4 %
Daniel@0 5 % S = vis_grid_struct
Daniel@0 6 %
Daniel@0 7 % Output arguments:
Daniel@0 8 % S (struct) som_grid struct
Daniel@0 9 %
Daniel@0 10 % Fields and their initial values:
Daniel@0 11 % S.type='som_grid';
Daniel@0 12 % S.neigh=neigh;
Daniel@0 13 % S.shape='sheet';
Daniel@0 14 % S.msize=msize;
Daniel@0 15 % S.coord=[];
Daniel@0 16 % S.line='-';
Daniel@0 17 % S.linecolor=[.8 .8 .8];
Daniel@0 18 % S.linewidth=0.5;
Daniel@0 19 % S.marker='o';
Daniel@0 20 % S.markersize=6;
Daniel@0 21 % S.markercolor='k';
Daniel@0 22 % S.surf=[];
Daniel@0 23 % S.label=[];
Daniel@0 24 % S.labelcolor='g';
Daniel@0 25 % S.labelsize=12;
Daniel@0 26 %
Daniel@0 27 % This is a subfunction for SOM_GRID.
Daniel@0 28
Daniel@0 29 % Copyright (c) 1999-2000 by the SOM toolbox programming team.
Daniel@0 30 % http://www.cis.hut.fi/projects/somtoolbox/
Daniel@0 31
Daniel@0 32 % Version 2.0beta Johan 090499
Daniel@0 33
Daniel@0 34 S.type='som_grid';
Daniel@0 35 S.neigh='hexa';
Daniel@0 36 S.shape='sheet';
Daniel@0 37 S.msize=[1 1];
Daniel@0 38 S.coord=[];
Daniel@0 39 S.line='-';
Daniel@0 40 S.linecolor=[.8 .8 .8];
Daniel@0 41 S.linewidth=0.5;
Daniel@0 42 S.marker='o';
Daniel@0 43 S.markersize=6;
Daniel@0 44 S.markercolor='k';
Daniel@0 45 S.surf=[];
Daniel@0 46 S.label=[];
Daniel@0 47 S.labelcolor='g';
Daniel@0 48 S.labelsize=12;