empty graphs structure
0001 0002 % empty graphs structure 0003 0004 graphs = struct; 0005 graphs.handles = []; 0006 graphs.info = ''; 0007 graphs.tag = ''; 0008 graphs.curtime = 0; 0009 graphs(1) = [];% empty structure but keep memory of fields 0010 0011 ngraphs = 2+length(shotimes);%new,all,shotimes 0012 0013 lukeobj.plot1.gindex = zeros(1,ngraphs); 0014 lukeobj.plot2.gindex = zeros(1,ngraphs); 0015 lukeobj.plot3.gindex = zeros(1,ngraphs); 0016 0017 cleartags = cell(1,ngraphs); 0018 cleartags(:) = {{}}; 0019 0020 graphss = cell(1,ngraphs); 0021 graphss(:) = {graphs}; 0022 clear ngraphs graphs