I would like to know how to draw the "less than" or "greater than" lines in a tikz graph.
i found this nice graph but am unable to draw the "zebra-lines". Is there a package for this?
For my plots I'm currently using pgfplot
\documentclass[12pt, a4]{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\begin{document}
\begin{figure}[h]
\begin{tikzpicture}
\begin{axis}[
axis x line=center,
axis y line=center,
xlabel=$x_1$,
ylabel=$x_2$,
xmin=-1,
ymin=-1,
xmax=8,
ymax=15,
xtick={-1,0,1,2,...,8},
ytick={0,2,3,4,6,8,10,12}
]
\addplot[mark=none, domain=-1:8] {-4x + 8}; % -4x_1 -x_2 <= -8
\addplot[mark=none, domain=-1:8] {x + 3};
\addplot[mark=none, domain=-1:8] {2};
\addplot[mark=none, domain=-1:8] {-2x + 12};
\addplot[fill=blue!20,draw=blue]coordinates{(1,4)(3,6)(5,2)(1.5,2)};
\drawred, ->--(3,9);
\node[label={180:{(3,6)}}, circle, fill=red, inner sep=2pt] at (axis cs:3,6) {};
\end{axis}
\end{tikzpicture}
\end{figure}
\end{document}
which looks like this:



the decorations worked perfectly:
– Isitar Sep 19 '20 at 18:00\addplot[mark=none, domain=-1:8, decoration={border,segment length=1mm,amplitude=2mm,angle=-135}, postaction={decorate,draw} ] {-2*x + 12};