Advertisement
Guest User

Untitled

a guest
Sep 21st, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{pgfplots}
  3. pgfplotsset{compat = newest}
  4.  
  5. newcommand{constant}{0.4}
  6.  
  7. begin{document}%
  8. begin{tikzpicture}%
  9. begin{axis}[%
  10. xmin = 0,
  11. xmax = 1,
  12. xtick = {0,constant}, % replace 0 by constant/(1 + constant)
  13. ymin = 0,
  14. ymax = 1
  15. ]%
  16.  
  17. addplot[domain = 0:1] {constant/(constant + x)};
  18.  
  19. end{axis}%
  20. end{tikzpicture}%
  21. end{document}%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement