![¿Cómo dibujar un gráfico lineal en LaTeX usando tikzpicture para la ecuación (22-x)/2?](https://rvso.com/image/449636/%C2%BFC%C3%B3mo%20dibujar%20un%20gr%C3%A1fico%20lineal%20en%20LaTeX%20usando%20tikzpicture%20para%20la%20ecuaci%C3%B3n%20(22-x)%2F2%3F.png)
Respuesta1
¡Bienvenido a TeX.SE! Proporcione siempre MWE (ejemplo de trabajo mínimo), un pequeño documento completo que reproduce su problema.
\documentclass[margin=3mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines = middle,
xlabel={$\omega_{m}$},
ylabel={T},
label style = {below left},
xmin=0, xmax=28, xtick={22},
ymin=0, ymax=13, ytick={11}]
\addplot[red, ultra thick, domain=0:22] {(22-x)/2};
\end{axis}
\end{tikzpicture}
\end{document}