Advertisement
VebbJ

SØK2011

Sep 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. close all
  2. clear all
  3.  
  4. x = [0 10];
  5. d = [9 2];
  6. s = [0 9];
  7. dd = [7.5 0.5];
  8. x0 = 45/8;
  9. x1 = 75/16;
  10. y0 = 81/16;
  11. y1 = 135/32;
  12.  
  13. figure(1)
  14. plot(x,s,'LineWidth',2)
  15. hold on
  16. plot(x,d,'LineWidth',2)
  17. plot(x,dd,'k--','LineWidth',2)
  18. legend('Tilbud', 'Etterspørsel','Etterspørsel etter avgift')
  19. plot([x0 x0],[0 y0],'k--')
  20. plot([0 x0],[y0 y0],'k--')
  21. plot([x1 x1],[0 y1],'k--')
  22. plot([0 x1],[y1 y1],'k--')
  23. set(gca,'xtick',[])
  24. set(gca,'ytick',[])
  25. xlim([0 10])
  26. ylim([0 10])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement