This is great! Just once question. Is there a way to keep the "box" around the figure so as to sort of frame it? Here is my code
function z=graph(x)
a=0.5;
%
xmin=-0.4;
xmax=1.4;
dx=0.01;
%
x=[xmin:dx:xmax];
%
z=x.*(1-x).*(x-a);
%
plot(x,z)
axescenter
Any suggestions would be greatly appreciated. Thanks.
Comment only
16 Feb 2013
axescenter
Puts axes in the center of a plot. Zooming, panning and some command line manipulations allowed.
Comment only