Home > p2plib > plotsolf.m

plotsolf

PURPOSE ^

plot component cnr of solution in file pre/sfname.mat to window wnr

SYNOPSIS ^

function plotsolf(pre,sfname,wnr,cnr,pstyle)

DESCRIPTION ^

 plot component cnr of solution in file pre/sfname.mat to window wnr

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function plotsolf(pre,sfname,wnr,cnr,pstyle)
0002 % plot component cnr of solution in file pre/sfname.mat to window wnr
0003 ffname=[pre '/' sfname '.mat']; tname=[pre sfname]; 
0004 s=load(ffname,'p'); p=s.p; fprintf('lam=%g\n',p.lam); 
0005 plotsol(p,wnr,cnr,pstyle); 
0006 if(p.neq>1) title(['u_' mat2str(cnr) ' at ' tname]); 
0007 else title(['u at ' tname]); end

Generated on Wed 15-Aug-2012 10:09:15 by m2html © 2005