for patch plots</span>
0004 <span class="comment">% cols=getcols(field,spec,alfa)</span>
0005 
0006 <span class="keyword">if</span> (nargin&lt;3)||(~isequal(numel(alfa),numel(att))), 
0007     alfa=ones(size(att)); <span class="keyword">end</span>
0008 <span class="keyword">if</span> nargin&lt;2, MAL=[]; <span class="keyword">end</span>
0009 cols=zeros([size(att) 3]);
0010 
0011 <span class="comment">% if ~isfield(MAL,'cauto')&amp;isfield(MAL,'cmin')&amp;isfield(MAL,'cmax'), MAL.cauto=0; end</span>
0012 <sp