Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. begin{tikzpicture}
  2. begin{axis}[
  3. axis lines=middle,
  4. samples=100,
  5. ymax=5,legend pos=north east,
  6. legend style={draw=none}
  7. ]
  8. addplot[forget plot,cyan,domain=0.001:8] {abs(log10(x))};
  9. addplot[forget plot,red!70!black,domain=-2:4] {2+exp(abs(x))};
  10. addplot[green,thick,domain=-2:3] {exp(x)};
  11. addlegendentry{$e^{x}$};
  12. node[pin={90:$f(x)=lvertlog xrvert$},inner sep=0pt]
  13. at (axis cs:{2,log10(2)}) {};
  14. node[pin={0:$f(x)=e^{x}$},inner sep=0pt]
  15. at (axis cs:{1,exp(1)}) {};
  16. node[anchor=north west]
  17. at (axis description cs:0,0.5)
  18. {$lvert e^{x}rvert$};
  19. end{axis}
  20. end{tikzpicture}
  21.  
  22. begin{tikzpicture}
  23. begin{axis}[
  24. axis lines=middle,
  25. samples=100,
  26. ymax=5,legend pos=north east,
  27. legend style={draw=none}
  28. ]
  29. addplot[forget plot,cyan,domain=0.001:8] {sin(x)};
  30. addplot[forget plot,red!70!black,domain=-2:4] {2+exp(abs(x))};
  31. addplot[green,thick,domain=-2:3] {exp(x)};
  32. addlegendentry{$e^{x}$};
  33. node[pin={90:$f(x)=lvertlog xrvert$},inner sep=0pt]
  34. at (axis cs:{2,log10(2)}) {};
  35. node[pin={0:$f(x)=e^{x}$},inner sep=0pt]
  36. at (axis cs:{1,exp(1)}) {};
  37. node[anchor=north west]
  38. at (axis description cs:0,0.5)
  39. {$lvert e^{x}rvert$};
  40. end{axis}
  41. end{tikzpicture}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement