view 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
line wrap: on
line source
function S=vis_grid_struct

% VIS_GRID_STRUCT Initiates and returns a default grid struct
%
%  S = vis_grid_struct
%
%  Output arguments:
%   S       (struct) som_grid struct 
%
% Fields and their initial values: 
%  S.type='som_grid';
%  S.neigh=neigh;
%  S.shape='sheet';
%  S.msize=msize;
%  S.coord=[];
%  S.line='-';
%  S.linecolor=[.8 .8 .8];
%  S.linewidth=0.5;
%  S.marker='o';
%  S.markersize=6;
%  S.markercolor='k';
%  S.surf=[];
%  S.label=[];
%  S.labelcolor='g';
%  S.labelsize=12;
%
% This is a subfunction for SOM_GRID. 

% Copyright (c) 1999-2000 by the SOM toolbox programming team.
% http://www.cis.hut.fi/projects/somtoolbox/             

% Version 2.0beta Johan 090499

S.type='som_grid';
S.neigh='hexa';
S.shape='sheet';
S.msize=[1 1];
S.coord=[];
S.line='-';
S.linecolor=[.8 .8 .8];
S.linewidth=0.5;
S.marker='o';
S.markersize=6;
S.markercolor='k';
S.surf=[];
S.label=[];
S.labelcolor='g';
S.labelsize=12;