Guest User

Untitled

a guest
Nov 23rd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. documentclass[border=2pt,tikz]{standalone}
  2. usepackage{pgfplots}
  3. pgfplotsset{compat=1.13}
  4.  
  5. begin{document}
  6. begin{tikzpicture}[font=footnotesize,scale=5]
  7. pgfmathsetmacrolambda{3}
  8. pgfmathsetmacroy{9}
  9. begin{axis}[domain=0:1,ymin=0,ymax=1,samples=500]
  10. addplot[blue](x,{exp(lambda*(1-x))/(exp(lambda*y*x)+exp(lambda*(1-x)))});
  11. draw[orange,samples=500,domain=0:1]plot(axis cs:x,{exp(lambda*(1-x))/(exp(lambda*y*x)+exp(lambda*(1-x)))});
  12. end{axis}
  13. end{tikzpicture}
  14. end{document}
Add Comment
Please, Sign In to add comment