Mercurial > hg > camir-aes2014
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e9a9cd732c1e |
---|---|
1 function S=vis_grid_struct | |
2 | |
3 % VIS_GRID_STRUCT Initiates and returns a default grid struct | |
4 % | |
5 % S = vis_grid_struct | |
6 % | |
7 % Output arguments: | |
8 % S (struct) som_grid struct | |
9 % | |
10 % Fields and their initial values: | |
11 % S.type='som_grid'; | |
12 % S.neigh=neigh; | |
13 % S.shape='sheet'; | |
14 % S.msize=msize; | |
15 % S.coord=[]; | |
16 % S.line='-'; | |
17 % S.linecolor=[.8 .8 .8]; | |
18 % S.linewidth=0.5; | |
19 % S.marker='o'; | |
20 % S.markersize=6; | |
21 % S.markercolor='k'; | |
22 % S.surf=[]; | |
23 % S.label=[]; | |
24 % S.labelcolor='g'; | |
25 % S.labelsize=12; | |
26 % | |
27 % This is a subfunction for SOM_GRID. | |
28 | |
29 % Copyright (c) 1999-2000 by the SOM toolbox programming team. | |
30 % http://www.cis.hut.fi/projects/somtoolbox/ | |
31 | |
32 % Version 2.0beta Johan 090499 | |
33 | |
34 S.type='som_grid'; | |
35 S.neigh='hexa'; | |
36 S.shape='sheet'; | |
37 S.msize=[1 1]; | |
38 S.coord=[]; | |
39 S.line='-'; | |
40 S.linecolor=[.8 .8 .8]; | |
41 S.linewidth=0.5; | |
42 S.marker='o'; | |
43 S.markersize=6; | |
44 S.markercolor='k'; | |
45 S.surf=[]; | |
46 S.label=[]; | |
47 S.labelcolor='g'; | |
48 S.labelsize=12; |