add_line2plot.m.html CLAWPACK  
 Source file:   add_line2plot.m
 Directory:   /Users/rjl/git/rjleveque/clawpack-4.6.3/matlab
 Converted:   Mon Jan 21 2013 at 20:15:59   using clawcode2html
 This documentation file will not reflect any later changes in the source file.

 
function add_line2plot(s,q,level,mstyle,lcolor,lstyle)

% Internal Matlab routine for Clawpack graphics.

amrlines = get_lines;

h = line(s,q,'Marker',mstyle,'Color',lcolor,'LineStyle',lstyle);

udata.s = s;
udata.q = q;
set(h,'UserData',udata);

amrlines{level}(end+1) = h;
set_lines(amrlines);