figure (2);
hold off;
ezplot(['-y + ' num2str(l1_slope) '*x +' num2str(l1_b)]);
hold on;
ezplot(['-y + ' num2str(l2_slope) '*x +' num2str(l2_b)]);
ezcontour(parab, 30);
set(gcf, 'Color', 'White');
title('');
%text boxes and arrows
% Create arrow
annotation(gcf,'arrow',[0.312292358803987 0.36046511627907],...
[0.807851239669422 0.700413223140496]);
% Create arrow
annotation(gcf,'arrow',[0.330564784053156 0.441860465116279],...
[0.81198347107438 0.652892561983471]);
% Create arrow
annotation(gcf,'arrow',[0.299003322259136 0.317275747508306],...
[0.801652892561983 0.741735537190083]);
% Create textbox
annotation(gcf,'textbox',...
[0.200996677740864 0.796520661157025 0.187707641196013 0.0723140495867769],...
'String',{'level sets'},...
'FontSize',15,...
'EdgeColor','none');
% Create textarrow
annotation(gcf,'textarrow',[0.654485049833887 0.60797342192691],...
[0.264462809917355 0.208677685950413],'TextEdgeColor','none',...
'HorizontalAlignment','left',...
'FontSize',15,...
'String',{'constraint 2'});
% Create textarrow
annotation(gcf,'textarrow',[0.714285714285714 0.662790697674419],...
[0.632231404958678 0.681818181818182],'TextEdgeColor','none',...
'HorizontalAlignment','left',...
'FontSize',15,...
'String',{'constraint 1'});
%plot2svg must be retrieved from http://www.zhinst.com/blogs/schwizer/
plot2svg;