add_line2plot.m.html CLAWPACK  
 Source file:   add_line2plot.m
 Directory:   /home/rjl/git/rjleveque/clawpack-4.x/matlab
 Converted:   Sun May 15 2011 at 19:15:56   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);