我已经在 Inkscape 中整理了一个图形,但是,对于我想要添加的最后四行,由于某种原因,程序不允许这样做。
我按照以下方式将此图放入 LaTeX 文档中
\begin{figure}[ht]
\centering
\includegraphics[width=13cm]{Amplitudes2.eps} %Amplitudes2 is my figure.
\setlength{\unitlength}{0.1\textwidth}
\begin{picture}(0,0)
\put(-3.83,0.26){\footnotesize{$1000$}}
\end{picture}
\parbox{5.4in}{\vspace{0.6cm}\caption{Caption goes here.}}
\end{figure}
以下是文档中所示的图:
这就是我想要的:
我只想添加一些简单的虚线(在 Inkscape 中无法添加)。我通常使用\put
MWE 中显示的命令为文本“1000”添加图形标签等。我可以对这条虚线使用类似的东西吗?
答案1
您可以调整坐标以适应,但是:
\documentclass{article}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}[htp]% include p
\centering
\includegraphics[width=13cm]{Amplitudes2.eps} %Amplitudes2 is my figure.
\setlength{\unitlength}{0.1\textwidth}
\begin{picture}(0,0)
\put(-3.83,0.26){\footnotesize{$1000$}}
\put(-4,-1){\rotatebox{90}{\rlap{\makebox[2cm]{\dotfill}}}}
\put(-4,-1){\rotatebox{30}{\rlap{\makebox[3cm]{\dotfill}}}}
\put(4.5,-1){\rotatebox{90}{\rlap{\makebox[2cm]{\dotfill}}}}
\put(4.5,-1){\rotatebox{145}{\rlap{\makebox[3cm]{\dotfill}}}}
\end{picture}
\parbox{5.4in}{\vspace{0.6cm}\caption{Caption goes here.}}
\end{figure}
\end{document}