Last change
on this file since 25834 was 25834, checked in by Mathieu Morlighem, 4 years ago |
CHG: added 24684-25833
|
File size:
661 bytes
|
Rev | Line | |
---|
[25834] | 1 | Index: ../trunk-jpl/src/m/plot/applyoptions.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/plot/applyoptions.m (revision 24744)
|
---|
| 4 | +++ ../trunk-jpl/src/m/plot/applyoptions.m (revision 24745)
|
---|
| 5 | @@ -50,7 +50,13 @@
|
---|
| 6 | %axis
|
---|
| 7 | set(gca,'FontSize',getfieldvalue(options,'axisfontsize',fontsize));;
|
---|
| 8 | if exist(options,'axis')
|
---|
| 9 | - eval(['axis ' getfieldvalue(options,'axis')]);
|
---|
| 10 | + axisopts = getfieldvalue(options,'axis');
|
---|
| 11 | + if ischar(axisopts) & contains(axisopts,' ');
|
---|
| 12 | + axisopts = strsplit(axisopts);
|
---|
| 13 | + axis(axisopts{:});
|
---|
| 14 | + else
|
---|
| 15 | + axis(axisopts);
|
---|
| 16 | + end
|
---|
| 17 | else
|
---|
| 18 | if strcmp(domaintype(md.mesh),'3D'),
|
---|
| 19 | if ~exist(options,'layer'),
|
---|
Note:
See
TracBrowser
for help on using the repository browser.