在矩阵图中通过gnuplottex进行不需要的平滑处理

时间:2014-06-23 11:00:57

标签: latex gnuplot

我有一个包含矩阵形式的某种相位数据的数据文件。使用独立的gnuplot通过

绘制数据
plot 'gridB.dat' matrix w image

给出以下结果: Right image

这就是美化,我希望它如何。然后我尝试通过gnuplottex将绘图直接集成到我的Latex文档中。最小的test.tex文件将是

\documentclass{scrartcl}
\usepackage{gnuplottex}
\usepackage{epstopdf}

\begin{document}
    \begin{figure}[ht]
        \begin{gnuplot}[terminal=epslatex,terminaloptions={color size 14.5cm, 9cm}]
            unset key
            plot 'gridB.dat' matrix w image
        \end{gnuplot}
    \end{figure}
\end{document}

编译通过

完成
pdflatex --shell-escape test.tex

输出如下: Wrong picture

看起来应用了一些不需要的平滑。任何想法为什么会发生这种情况以及如何避免它?

我在OSX上使用TexLive-2012和gnuplot 4.6。 gridB.dat文件可用here

0 个答案:

没有答案