Guest User

Untitled

a guest
Feb 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. addplot [draw=black,fill=black] coordinates {(-3,-3) (-3,3) (3,-3) (3,3)};
  2.  
  3. documentclass{article}
  4. usepackage{pgfplots}
  5. usepackage[ansinew]{inputenc}
  6. usepackage[T1]{fontenc}
  7. usepackage[Swedish]{babel}
  8. usepackage{amsthm}
  9. usepackage{amsfonts}
  10. usepackage{amsmath}
  11. usepackage{amssymb}
  12. usepackage{pgfplots,mathrsfs}
  13. usepackage[shortlabels]{enumitem}
  14. usepackage{pgf,tikz}
  15. usepackage{mathrsfs}
  16. usetikzlibrary{arrows}
  17. usepackage{framed}
  18.  
  19. begin{document}
  20. definecolor{uququq}{rgb}{0.25098039215686274,0.25098039215686274,0.25098039215686274}
  21. definecolor{ffqqqq}{rgb}{1,0,0}
  22. begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=1cm]
  23. draw[->,color=black] (-4,0) -- (4,0);
  24. foreach x in {-4,-3,-2,-1,1,2,3,4}
  25. draw[shift={(x,0)},color=black] (0pt,2pt) -- (0pt,-2pt);
  26. draw[->,color=black] (0,-3.9627039627039613) -- (0,4);
  27. foreach y in {-3,-2,-1,1,2,3}
  28. draw[shift={(0,y)},color=black] (2pt,0pt) -- (-2pt,0pt);clip(-8,-3.9627039627039613) rectangle (8,4);
  29. draw[line width=2pt,color=ffqqqq,smooth,samples=100,domain=-8:8] plot(x,{(x)});
  30. draw [rotate around={0:(-1,0)},line width=2pt,color=uququq] (-1,0) ellipse (1cm and 1cm);
  31. draw [rotate around={0:(0,0)},line width=2pt,fill=black,fill opacity=0.25] (0,0) ellipse (1.4142135623730951cm and 1.4142135623730951cm);
  32. begin{scriptsize}
  33. draw[color=ffqqqq] (-3.2950340798442066,-3.655011655011654) node {$f(x) = x$};
  34. draw [fill=black] (0,0) circle (2.5pt);
  35. draw[color=black] (0.6932814021421617,0.39160839160839206) node {$A = (0, 0)$};
  36. draw [fill=black] (-1,-1) circle (2.5pt);draw[color=black] (-0.1947419668938657,-0.5967365967365961) node {$B = (-1, -1)$};
  37. end{scriptsize}
  38. end{tikzpicture}
  39. end{document}
Add Comment
Please, Sign In to add comment