2

当我对一些 eps 文件使用 gnuplot 时,我可以获得一些轴标签。这样可行。当我想将它们实现到我的乳胶文档中时,轴描述会在图形的边界处被切掉。不管数字有多大,标签字母无论如何都会在边界处被切掉。

我怎样才能解决这个问题?

4

2 回答 2

1

Gnuplot 通常不会完美地调整 .eps 文件的大小,尤其是在边缘发生某些事情时。感谢这篇文章,我了解到有一个简单的命令可以纠正边界框以适应 .eps 的内容:

ps2epsi input.eps output.eps

This works fine for me. There is also the fixbb script on the gnuplot homepage.

于 2013-02-27T03:53:03.347 回答
0

好的,给你:

乳胶代码:

\begin{figure}[H]
    \centering
\includegraphics[scale=1] {picture.eps}
\caption{caption}
\label{fig:picture}
\end{figure}

Gnuplot

set terminal postscript enhanced portrait "Times Italic" 12 size 14cm,12cm                 #Key Character Size                           
set output 'picture.eps'
set multiplot layout 2,2

set border
set tics font "Times Italic, 10" 

set xlabel "{/Symbol e} %" font "Times Italic, 10" 
set ylabel "{/Symbol s}[MPa]" font "Times Italic, 10" rotate by -0

plot       plot exp(-x**2 / 2)
plot       plot exp(-x**2 / 2)
plot       plot exp(-x**2 / 2) 
plot       plot exp(-x**2 / 2) 

像这样的东西应该工作。然后 {/Symbol s}[MPa] 在 Latex 文档中没有正确显示。

于 2013-02-26T11:08:35.727 回答