Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. documentclass[tikz,border=3.14mm]{standalone}
  2. begin{document}
  3. begin{tikzpicture}[pics/symmetric axes/.style={code={
  4. draw[thick,-stealth] (0,-#1) -- (0,#1);
  5. draw[thick,-stealth] (-#1,0) -- (#1,0);}},pics/symmetric axes/.default=5]
  6.  
  7. pic{symmetric axes};
  8. draw[red,thick] plot[variable=x,domain=-4:4,smooth] ({x},{2*tanh(x)+0.5*x});
  9.  
  10. begin{scope}[xshift=7cm]
  11. pic{symmetric axes};
  12. draw[red,thick] plot[variable=x,domain=-4:4,smooth] ({pow(x,3)/8-x},{x});
  13. end{scope}
  14. end{tikzpicture}
  15. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement