Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function colors = vb_get_inflate_color(inf_C,cscale,c0) 0002 % 0003 % Copyright (C) 2011, ATR All Rights Reserved. 0004 % License : New BSD License(see VBMEG_LICENSE.txt) 0005 0006 % 脳モデルの色を決めるパラメータ 0007 if nargin < 2, cscale = -0.4; end; 0008 if nargin < 3, c0 = 0.8; end; 0009 0010 colors = inf_C * cscale + c0; 0011 colors = repmat(colors, [1 3]); 0012 0013 %patch('Faces',FR,'Vertices',VR,'FaceColor','interp',... 0014 % 'EdgeColor','none','FaceVertexCData',colors);