1 function phs = ellipt_compliant_plot_sim_data(model,model_data,sim_data,params)
2 %
function plots the results of the detailed simulation
5 % model_data: grid information (p,e,t)
15 ti =
'Plot of a detailed simulation';
20 if model.plot_isolines == 1
21 phs = pdeplot(p,e,t,
'xydata',u,
'colormap',
'jet',
'contour',
'on',
'title',ti);
22 % disp(
'plotted solution isolines');
24 % das handle succhen, das eine typ
'line' ist und isempty(
get(ph),
'Zdata');
26 htypes=
get(phs(:),
'Type');
27 checkline=strcmp(
'line',htypes);
28 lineindex=find(checkline==1);
32 checkcont(i)=isempty(get(hline(i),'ZData'))';
35 contindex=find(checkcont == 0);
37 hcont=hline(contindex);
39 %%%%definition of contour lines
40 set(hcont,'LineStyle','-')
41 set(hline(find(checkcont==1)),'LineStyle',':','Linewidth',1)
43 phs = pdeplot(p,e,t,'xydata',u,'colormap','jet', 'title',ti);
44 disp('plotted solution, no isolines');
47 if model.plot_mesh == 1
49 phs2 = pdemesh(p,e,t);
53 phs = [phs(:); phs2(:)];