Posted By


greencocoa on 11/10/13

Tagged


Statistics


Viewed 96 times
Favorited by 0 user(s)

20130525_0007_r.7_lat_Basic_graph


/ Published in: LaTeX
Save to your folder(s)

Sublime Text


Copy this code and paste it in your HTML
  1. <snippet>
  2. <content><![CDATA[
  3. \begin{center}
  4. \begin{tikzpicture}
  5. \begin{axis}[
  6. minor tick num=3,
  7. axis y line=center,
  8. axis x line=middle,
  9. xlabel=\$ ${1:x} \$,ylabel= \$ ${2:y} \$,legend entries={\$ ${3:a*x^2 + b*x + c} \$ ${4:,\$ m*x + t \$}}
  10. ]
  11. \addplot[smooth,${5:black},mark=none,
  12. domain=${6:-4}:${7:4},samples=40]
  13. {${8:a*x^2 + b*x + c}};
  14. ${9:\addplot[smooth,green,mark=none,
  15. domain=-4:4,samples=40]
  16. {m*x + t}}${10:;}
  17. \end{axis}
  18. \end{tikzpicture}
  19. \end{center}
  20. $11
  21. ]]>
  22. </content>
  23. <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
  24. <tabTrigger>Mathe:Graph</tabTrigger>
  25. <!-- Optional: Set a scope to limit where the snippet will trigger -->
  26. <scope>text.tex.latex</scope>
  27. </snippet>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.