Tag Info

1

Graphs a better done with pgfplots: Notes: The axis cs: is only needed if this is to be produced with versions priot to 1.11. So adding \pgfplotsset{compat=1.11} and using a recent version of pgfplots you don't need the axis cs:. Code: \documentclass{article} \usepackage{pgfplots} \usepackage{amsmath} %% ...

3

Use domain=-4:7; \documentclass{article} \usepackage{tikz} \usepackage{amsmath} \begin{document} \begin{tikzpicture}[baseline={(current bounding box.north)}] \draw[step=1cm,color=gray!20] (-3,-2) grid (6,6); \draw[-] (-3,0) -- (6,0) node[right] {$x$}; \draw (0,0) node[below left] {$O$}; \draw[-] (0,-2) -- (0,6) node[above] {$y$}; \foreach \x in ...

0

A PSTricks solution: \documentclass{article} \usepackage{pstricks-add} \begin{document} \begin{pspicture}(-3.2,-2.1)(6.65,6.7) \psaxes[ labels = none, tickcolor = black!30, tickwidth = 0.5pt, xticksize = -2 6, yticksize = -3 6 ]{->}(0,0)(-3,-2)(6.3,6.3)[$x$,0][$y$,90] \psaxes{->}(0,0)(-3,-2)(6.3,6.3)[$x$,0][$y$,90] ...

Top 50 recent answers are included