【发布时间】:2021-03-18 17:19:08
【问题描述】:
在背页上绘制后右下一行
\begin{tikzpicture}
\begin{axis}[
axis lines = left,
xlabel = $x$,
ylabel = {$f(x)$},
]
%Below the red parabola is defined
\addplot [
domain=-10:10,
samples=100,
color=red,
]
{((6*x - 48)/8)};
\addlegendentry{$6x + 8y = 48$}
我需要在同一个图上为 x = 6 添加一条垂直线。 你能帮我解决这个问题吗?
【问题讨论】:
-
请制作一个可编译的minimal reproducible example
-
您的代码缺少某些部分:
\documentclass、\begin{document}、\end{document}和类似的。