www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/ReevaluationOnZoomExample.m
%% Re-evaluation on Zoom % When you zoom into a plot, |fimplicit| re-evaluates the plot % automatically. This re-evaluation on zoom can reveal hidden detail at smaller % scales. % % Divide a figure into two by using |subplot|. Plot $x \cos(y) + y % \sin(1/x) = 0$ % in both the first and second subplots. Zoom into the second subplot by % using |zoom|. The zoomed subplot shows detail that is not visible in the % first subplot. syms x y eqn = x*cos(y) + y*sin(1/x) == 0; subplot(2,1,1) fimplicit(eqn) subplot(2,1,2) fimplicit(eqn) zoom(2)