Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{article}
- usepackage{pgfplots}
- usetikzlibrary{arrows}
- begin{document}
- begin{tikzpicture}
- begin{axis}[axis lines=middle,
- xmin=-2,xmax=5,ymin=-15,ymax=15,
- xlabel=$x$,
- ylabel={$y$},
- xtick distance=1
- ]
- addplot[smooth,color=blue,] {x^2-x+2};
- end{axis}
- end{tikzpicture}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement