Mercurial > hg > camir-aes2014
annotate toolboxes/MIRtoolbox1.3.2/somtoolbox/vis_grid_struct.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 function S=vis_grid_struct |
wolffd@0 | 2 |
wolffd@0 | 3 % VIS_GRID_STRUCT Initiates and returns a default grid struct |
wolffd@0 | 4 % |
wolffd@0 | 5 % S = vis_grid_struct |
wolffd@0 | 6 % |
wolffd@0 | 7 % Output arguments: |
wolffd@0 | 8 % S (struct) som_grid struct |
wolffd@0 | 9 % |
wolffd@0 | 10 % Fields and their initial values: |
wolffd@0 | 11 % S.type='som_grid'; |
wolffd@0 | 12 % S.neigh=neigh; |
wolffd@0 | 13 % S.shape='sheet'; |
wolffd@0 | 14 % S.msize=msize; |
wolffd@0 | 15 % S.coord=[]; |
wolffd@0 | 16 % S.line='-'; |
wolffd@0 | 17 % S.linecolor=[.8 .8 .8]; |
wolffd@0 | 18 % S.linewidth=0.5; |
wolffd@0 | 19 % S.marker='o'; |
wolffd@0 | 20 % S.markersize=6; |
wolffd@0 | 21 % S.markercolor='k'; |
wolffd@0 | 22 % S.surf=[]; |
wolffd@0 | 23 % S.label=[]; |
wolffd@0 | 24 % S.labelcolor='g'; |
wolffd@0 | 25 % S.labelsize=12; |
wolffd@0 | 26 % |
wolffd@0 | 27 % This is a subfunction for SOM_GRID. |
wolffd@0 | 28 |
wolffd@0 | 29 % Copyright (c) 1999-2000 by the SOM toolbox programming team. |
wolffd@0 | 30 % http://www.cis.hut.fi/projects/somtoolbox/ |
wolffd@0 | 31 |
wolffd@0 | 32 % Version 2.0beta Johan 090499 |
wolffd@0 | 33 |
wolffd@0 | 34 S.type='som_grid'; |
wolffd@0 | 35 S.neigh='hexa'; |
wolffd@0 | 36 S.shape='sheet'; |
wolffd@0 | 37 S.msize=[1 1]; |
wolffd@0 | 38 S.coord=[]; |
wolffd@0 | 39 S.line='-'; |
wolffd@0 | 40 S.linecolor=[.8 .8 .8]; |
wolffd@0 | 41 S.linewidth=0.5; |
wolffd@0 | 42 S.marker='o'; |
wolffd@0 | 43 S.markersize=6; |
wolffd@0 | 44 S.markercolor='k'; |
wolffd@0 | 45 S.surf=[]; |
wolffd@0 | 46 S.label=[]; |
wolffd@0 | 47 S.labelcolor='g'; |
wolffd@0 | 48 S.labelsize=12; |