plot the hexagonal cells INPUT par general parameter style plot style (as in regular plot function) OUTPUT fig plot of the basic hexagonal cells environment $Id: mk_hex_net.m,v 1.1 2004/05/12 16:22:59 dalai Exp $
0001 % plot the hexagonal cells 0002 % 0003 % INPUT 0004 % par general parameter 0005 % style plot style (as in regular plot function) 0006 % 0007 % OUTPUT 0008 % fig plot of the basic hexagonal cells environment 0009 % 0010 % 0011 % $Id: mk_hex_net.m,v 1.1 2004/05/12 16:22:59 dalai Exp $ 0012 0013 function fig = mk_hex_net(par,style) 0014 0015 hold on; 0016 for idx = 1:size(par.sites,2) 0017 fig = mk_hex(par.sites(idx),par.dist_bs/sqrt(3)); 0018 axis equal 0019 end 0020 hold off;