Index: ../trunk-jpl/src/m/plot/plot_section.m =================================================================== --- ../trunk-jpl/src/m/plot/plot_section.m (revision 18319) +++ ../trunk-jpl/src/m/plot/plot_section.m (revision 18320) @@ -52,7 +52,11 @@ if exist(options,'resolution'), resolution=getfieldvalue(options,'resolution'); else %Default resolution - resolution=[1000 10*md.mesh.numberoflayers]; + if is2d, + resolution=[1000 1]; + else + resolution=[1000 10*md.mesh.numberoflayers]; + end disp(['plot_section warning: no resolution specified, use default resolution: [horizontal_resolution vertical_resolution]=[' num2str(resolution) ']']); end