I would like to plot a 2D $x_1 - x_2$ coordinate system and a shaded polygon specified by
$ −3x_1 + 4x_2 \leq 4, 3x_1 + 2x_2 \leq 11, 2x_1 − x_2 \leq 5, x_1 , x_2 \geq 0 $
How to draw this using TikZ?
Thanks and regards!
Update:
I just learned something from this post (or if you have better idea, please don't hesitate to reply).
Here is my plot and I was wondering how to add different shades to the polygon enclosed by the solid lines and to the polygon enclosed by the dashed lines?

Here is my code:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[very thin,color=gray] (-0.1,-0.1) grid (4.9,3.1);
\draw[->] (-0.2,0) -- (4.2,0) node[right] {$x_1$};
\draw[->] (0,-0.2) -- (0,3.2) node[above] {$x_2$};
\draw[domain=0:3] plot (\x,{1+ 0.75 * \x}) node[above right] {$-3x_1+4x_2 =4$};
\draw[domain=1.5:4] plot (\x,{5.5 - 1.5 * \x}) node[below right] {$3x_1 + 2x_2 = 11$};
\draw[domain=2:4] plot (\x,{-5+2 * \x}) node[below right] {$2x_1 - x_2 =5$};
\node at (2,3) {(2, 2.5)};
\node at (3.5,1) {(3, 1)};
\node at (3,-0.25) {(2.5, 0)};
\node at (-0.25,-0.25) {(0, 0)};
\node at (-0.5,1) {(0, 1)};
\draw[dashed] (0,1) -- (2,2);
\draw[dashed] (2,2) -- (3,1);
\draw[dashed] (3,1) -- (2,0);
\draw[dashed] (2,0) -- (0,0);
\draw[dashed] (0,0) -- (0,1);
\node at (2,1.5) {(2, 2)};
\node at (2,-0.25) {(2, 0)};
\end{tikzpicture}
\end{document}


Alain Matthes
\filldrawhelp? – Matthew Leingang Dec 02 '10 at 01:11\filljust needs some closed path that in can fill. How you create that is up to you. For (2), simply put it into afigureenvironment, as you would with and other graphic. – Caramdir Dec 02 '10 at 03:55