|
Prev: Reading AVI files.
Next: Installation problem
From: Stella Filippatos on 7 Feb 2005 20:50 Hello. I am trying to change the x and y axis in PDE toolbox using the following M-file, from an example given in help: function pdemodel pdeinit; pde_fig=gcf; ax=gca; pdetool('appl_cb',1); setuprop(pde_fig,'currparam',str2mat('1.0','0.0','10.0','1.0')); pdetool('snapon'); set(ax,'AspectRatio',[1.5 1]); set(ax,'XLim',[0.0 0.573270916]); set(ax,'YLim',[0.0 0.573270916]); set(ax,'XTickMode','auto'); set(ax,'YTickMode','auto'); grid on; The subsequent pdepoly functions are drawn in the correct PDE tool window. However, instead of setting the X and Y axis limits as in the M-file, the program opens a figure with these axes limits and keeps the default parameters in PDE tool. Any ideas on how to change these default settings? Thanks.
|
Pages: 1 Prev: Reading AVI files. Next: Installation problem |