Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 Gnuplot 绘制所有数据值为正的数据。但是,当绘制到 PDF 时,一些输出值在 x 轴下显示为负值:
绘制到 PNG 时不会发生这种情况。
减小线宽有助于缓解这个问题,但这并不是真正的解决方案。
如何打印更宽的线宽,而不会在输出中出现这些伪影?奇怪的是,这些神器的“长度”比线宽还长。
这是 Gnuplot 中的错误吗?
发生这种情况是因为线接头在 pdf 终端中默认为斜接,而在 png 终端中默认为圆角。
set terminal pdf rounded
另请参阅 gnuplot 文档 ( gnuplot> help set terminal pdf)。
gnuplot>
help set terminal pdf