Here is the code that you might like to use to plot a graph in LATEX
$\begin{figure}[h!]
\centering
\begin{tikzpicture}[scale=0.70]
\draw[thick, ->] (-12, 0) -- (12, 0);%asse x, la punta puo' essere >
o latex ( o altra roba ma..)
\draw[thick, ->] (0, -12) -- (0, 12);%asse y
\draw[thick, dotted] (1,-12) -- (1,12);
\draw[thick, dotted] (2,-12) -- (2, 12.0);
\draw[thick, dotted] (3,-12) -- (3, 12.0);
\draw[thick, dotted] (4,-12) -- (4, 12.0);
\draw[thick, dotted] (5,-12) -- (5, 12.0);
\draw[thick, dotted] (6,-12) -- (6, 12.0);
\draw[thick, dotted] (7,-12) -- (7, 12.0);
\draw[thick, dotted] (8,-12) -- (8, 12.0);
\draw[thick, dotted] (9,-12) -- (9, 12.0);
\draw[thick, dotted] (10,-12) -- (10, 12.0);
\draw[thick, dotted] (11,-12) -- (11, 12.0);
\draw[thick, dotted] (-1,-12) -- (-1, 12.0);
\draw[thick, dotted] (-2,-12) -- (-2 , 12.0);
\draw[thick, dotted] (-3,-12) -- (-3, 12.0);
\draw[thick, dotted] (-4,-12) -- (-4, 12.0);
\draw[thick, dotted] (-5,-12) -- (-5, 12.0);
\draw[thick, dotted] (-6,-12) -- (-6, 12.0);
\draw[thick, dotted] (-7,-12) -- (-7, 12.0);
\draw[thick, dotted] (-8,-12) -- (-8, 12.0);
\draw[thick, dotted] (-9,-12) -- (-9, 12.0);
\draw[thick, dotted] (-10,-12) -- ( -10.0,12);
\draw[thick, dotted] (-11,-12) -- (-11, 12);
\draw[thick, dotted] (12,1) -- (-12, 1);
\draw[thick, dotted] (12,-1) -- (-12, -1);
\draw[thick, dotted] (12,2) -- (-12, 2);
\draw[thick, dotted] (12,-2) -- (-12, -2);
\draw[thick, dotted] (12,3) -- (-12, 3);
\draw[thick, dotted] (12,-3) -- (-12, -3);
\draw[thick, dotted] (12,4) -- (-12, 4);
\draw[thick, dotted] (12,-4) -- (-12, -4);
\draw[thick, dotted] (12,-5) -- (-12, -5);
\draw[thick, dotted] (12,-6) -- (-12, -6);
\draw[thick, dotted] (12,-7) -- (-12, -7);
\draw[thick, dotted] (12,-8) -- (-12, -8);
\draw[thick, dotted] (12,-9) -- (-12, -9);
\draw[thick, dotted] (12,-10) -- (-12, -10);
\draw[thick, dotted] (12,-11) -- (-12, -11);
\draw[thick, dotted] (12,5) -- (-12, 5);
\draw[thick, dotted] (12,6) -- (-12, 6);
\draw[thick, dotted] (12,7) -- (-12, 7);
\draw[thick, dotted] (12,8) -- (-12, 8);
\draw[thick, dotted] (12,9) -- (-12, 9);
\draw[thick, dotted] (12,10) -- (-12, 10);
\draw[thick, dotted] (12,11) -- (-12, 11);
\draw (12,0) node[below]{$x$};
\draw (0, 0) node[below left]{$0$};
\draw (0,12) node[left]{$y$};
\end{tikzpicture}
\end{figure}$
No comments:
Post a Comment