Plot 没有名为X的形状是已知的

Plot 没有名为X的形状是已知的,plot,latex,tikz,Plot,Latex,Tikz,我正在尝试创建一个带有pgfplots的tikz图片,该图片具有与tkz欧几里德软件包的角度。然而,在经历了很多困难之后,我无法编译latex文档 我试图改变路径中的参数。似乎什么都没用。移除\tkzMarkAnglesize=0.5cm,标记=|;行将允许代码工作,但角度显然不会显示 \begin{figure}[ht] \begin{center} \tikzset{every picture/.style={xscale=1,yscale=1}} \begin{tikzpictur

我正在尝试创建一个带有pgfplots的tikz图片,该图片具有与tkz欧几里德软件包的角度。然而,在经历了很多困难之后,我无法编译latex文档

我试图改变路径中的参数。似乎什么都没用。移除\tkzMarkAnglesize=0.5cm,标记=|;行将允许代码工作,但角度显然不会显示

\begin{figure}[ht]
\begin{center}
    \tikzset{every picture/.style={xscale=1,yscale=1}}
\begin{tikzpicture}
    \begin{axis}[
    domain=0:8,
    xmin=0, xmax=8,
    ymin=0, ymax=8,
    samples=400,
    yticklabels={,,},
    xticklabels={,,},
    ticks=none,
    axis y line=center,
    axis x line=middle,
    xscale=2, yscale=1.5,
    clip=false,
    ]
    \addplot+[thick, smooth, mark=none, color=black, width=0.1in] plot coordinates
    {(0,3) (8,7)};
    \addplot+[thick, smooth, mark=none, color=black, width=0.1in] plot coordinates
    {(6,6) (8,6)};
    \path
        (8,7)node(A){}
        (6,6)node(B){}
        (8,6)node(C){};
    \tkzMarkAngle[size=0.5cm,mark=|](A,B,C);    
    \node[label={180:{$\theta_H$}},circle,fill,inner sep=0pt] at (axis cs:0,3) {};
    \addplot+[thick, smooth, mark=none, color=black, width=0.1in] plot coordinates
    {(0,1) (8,3)};
    \node[label={180:{$\theta_L$}},circle,fill,inner sep=0pt] at (axis cs:0,1) {};
    \end{axis}
\end{tikzpicture}
\end{center}
\end{figure}
错误:不知道名为B的形状

以下是一个最低限度的工作示例(根据要求):


mwe示例对我来说编译得很好。你能显示一下你的.log文件吗?mwe示例对我来说编译得很好。你能显示你的.log文件吗?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\usepackage{tkz-euclide}
\usepackage{tikz}
\usetkzobj{all}

\begin{document}
\begin{figure}[ht]
\begin{center}
\tikzset{every picture/.style={xscale=1,yscale=1}}
\begin{tikzpicture}
    \begin{axis}[
    domain=0:8,
    xmin=0, xmax=8,
    ymin=0, ymax=8,
    samples=400,
    yticklabels={,,},
    xticklabels={,,},
    ticks=none,
    axis y line=center,
    axis x line=middle,
    xscale=2, yscale=1.5,
    clip=false,
    ]
    \addplot+[thick, smooth, mark=none, color=black, width=0.1in] plot coordinates {(0,3) (8,7)};
    \addplot+[thick, smooth, mark=none, color=black, width=0.1in] plot coordinates {(6,6) (8,6)};
    \path
        (8,7)node(A){}
        (6,6)node(B){}
        (8,6)node(C){};
    \node[label={180:{$\theta_H$}},circle,fill,inner sep=0pt] at (axis cs:0,3) {};
    \addplot+[thick, smooth, mark=none, color=black, width=0.1in] plot coordinates {(0,1) (8,3)};
    \node[label={180:{$\theta_L$}},circle,fill,inner sep=0pt] at (axis cs:0,1) {};
    \end{axis}
\end{tikzpicture}
\end{center}
\end{figure}
\end{document}