
clear				% clear previous definitions

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% here you override any default:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

xlab = '\mu'; 		% X-label
ylab = 'y (Equilibria)'; 			% Y-label
mytitle = 'Saddle Node Bifurcation'; 	% Title

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% here you plot your function(s):
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

x1=0;
x2=10;

fig_def1;			% start of defaults and definitions

y1 = sqrt(xx);
y2 = -sqrt(xx);

plot(xx,y1,'b-','MarkerSize',ms,'LineWidth',lw);
hold on
plot(xx,y2,'b--','MarkerSize',ms,'LineWidth',lw);

grid on;

plot_arrow(5,-2.8,5,-4.8);
plot_arrow(5,4.8,5,2.8);
plot_arrow(5,-1,5,1);

plot_arrow(-2.5,-2.8,-2.5,-4.8);
plot_arrow(-2.5,4.8,-2.5,2.8);
plot_arrow(-2.5,1,-2.5,-1);

ax=[-5 10 -5 5];

%legend('Susceptibles','Infected','Removed',2);
%text(25,0.85,'Susceptibles','FontSize',fs_text);

fig_def2;			% end of defaults and definitions

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Here we print the figure in postscript
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
print -depsc blue_sky.eps		% Color
%print -deps blue_sky.ps		% BW

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Here we preview the figure
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%!gs cricket.ps
%!gv cricket.ps &

clear