%
% opampshow.m  a fully labeled demo
%
function opampshow
O = [0 1 0 0
     0 -1/2 -1 0];
plot(O(1,:),O(2,:),'k','linewidth',1.5)
hold on
plot([-.3 0],[-.3 -.3],'k','linewidth',1)
text(-.2,-.25,'in','fontsize',20)
plot([.1 .2],[-.3 -.3],'k','linewidth',4)
plot([.15 .15],[-.25 -.35],'k','linewidth',4)
%text(.1,-.3 - flip*.5,'+','fontsize',36)
plot([-.3 0],[-.7 -.7],'k','linewidth',1)
text(-.2,-.65,'in','fontsize',20)
plot([.1 .2],[-.7 -.7],'k','linewidth',4)
    plot(0.6*[1 1],[0 -.3],'k--','linewidth',1)
    text(.65,-.1,'power','fontsize',20)
    plot(0.6*[1 1],[-1 -.7],'k--','linewidth',1)
    text(.65,-.9,'power','fontsize',20)
plot([1 1.3],[-.5 -.5],'k','linewidth',1)
text(1.05,-.45,'out','fontsize',20)
hold off
axis equal
axis off
return