Rev | Line | |
---|
[19102] | 1 | Index: ../trunk-jpl/src/m/plot/plot_section.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/plot/plot_section.m (revision 18319)
|
---|
| 4 | +++ ../trunk-jpl/src/m/plot/plot_section.m (revision 18320)
|
---|
| 5 | @@ -52,7 +52,11 @@
|
---|
| 6 | if exist(options,'resolution'),
|
---|
| 7 | resolution=getfieldvalue(options,'resolution');
|
---|
| 8 | else %Default resolution
|
---|
| 9 | - resolution=[1000 10*md.mesh.numberoflayers];
|
---|
| 10 | + if is2d,
|
---|
| 11 | + resolution=[1000 1];
|
---|
| 12 | + else
|
---|
| 13 | + resolution=[1000 10*md.mesh.numberoflayers];
|
---|
| 14 | + end
|
---|
| 15 | disp(['plot_section warning: no resolution specified, use default resolution: [horizontal_resolution vertical_resolution]=[' num2str(resolution) ']']);
|
---|
| 16 | end
|
---|
| 17 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.