Gnuplot在终端窗口中工作正常, 扩展模式\ write18已启用,但是当我运行以下示例时
\documentclass{article}
\usepackage{tikz}
\usepackage{bodegraph}
%%%%
\begin{document}
%%%%
\begin{tikzpicture}[xscale=7/4,yscale=5/30]
\semilog{-2}{2}{-20}{10}
\BodeGraph{-2:2}{20*log10(abs(3/sqrt(1+(0.3*10**t)**2)))}
\end{tikzpicture}
\end{document}
我收到此错误:
./TestBodegraphTiKz.tex:9: I can't write on file `gnuplot/TestBodegraphTiKz/1.gnuplot'.
<to be read again>
\relax
l.9 ...2}{20*log10(abs(3/sqrt(1+(0.3*10**t)**2)))}
如何解决此错误。
由于
答案 0 :(得分:0)
请参阅以下答案: https://tex.stackexchange.com/questions/31150/bodegraph-on-ubuntu-10-04
您对gnuplot文件夹的前缀有疑问。
只需添加:\begin{tikzpicture}[gnuplot def/.append style={prefix={}}]
作为tikzpicture的选项