I'm somewhat new to Latex, and I was giving a shot at trying to create my own graph.
Code: Select all
\setlength{\unitlength}{1cm}
\begin{picture}(1,1)
\put(0,-2){\vector(0,1){6}}
\put(-1,0){\vector(1,0){5}}
\put(0,1){\line(1,-1){3}}
\put(0,-1){\line(1,1){3}}
\put(0,1){\line(3,-1){3}}
\end{picture}
Another brief question: how do I get arrows to go on both sides of a line segment? I have a \vector code but that only puts arrows on one side.
Thanks if you can offer help.
I used TeXShop for my Mac.