Rev | Line | |
---|
[25834] | 1 | Index: ../trunk-jpl/src/m/plot/applyoptions.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/plot/applyoptions.m (revision 25622)
|
---|
| 4 | +++ ../trunk-jpl/src/m/plot/applyoptions.m (revision 25623)
|
---|
| 5 | @@ -41,7 +41,7 @@
|
---|
| 6 | if exist(options,'ztick'), set(gca,'ZTick',getfieldvalue(options,'ztick')); end
|
---|
| 7 |
|
---|
| 8 | %view
|
---|
| 9 | -if dimension(md.mesh)==3 & ~exist(options,'layer'),
|
---|
| 10 | +if dimension(md.mesh)==3 && ~(exist(options,'layer') || exist(options,'depthaverage'))
|
---|
| 11 | view(getfieldvalue(options,'view',3));
|
---|
| 12 | else
|
---|
| 13 | view(getfieldvalue(options,'view',2));
|
---|
| 14 | @@ -59,7 +59,7 @@
|
---|
| 15 | end
|
---|
| 16 | else
|
---|
| 17 | if strcmp(domaintype(md.mesh),'3D'),
|
---|
| 18 | - if ~exist(options,'layer'),
|
---|
| 19 | + if ~(exist(options,'layer') || exist(options,'depthaverage'))
|
---|
| 20 | axis auto tight
|
---|
| 21 | else
|
---|
| 22 | axis tight equal
|
---|
Note:
See
TracBrowser
for help on using the repository browser.