5
I need to plot a triangle with vertices (0,0), (1,2), (0,3) with x & y coordinate axes (and labels), and tick marks on the axes. How can I accomplish this in TikZ.
My code is:
\begin{tikzpicture}
\draw[->] (-5.0,0) -- (5.0,0) node[right] {$x$} coordinate(x axis);
\draw[->] (0,-5.0) ...