Tecplot输出的图片有时候会在边界有两条黑线,很多人的解决办法是截图。实际上有一个一劳永逸的方法,那就是修改tecplot.cfg文件,这个文件在tecplot的安装路径下,ubuntu中一般是在/usr/local/tecplotxxx中。在这个文件的最后加上两行:
$!Interface OpenGLConfig {ScreenRendering {AdjustRectangleRightAndBottom = yes}}
$!Interface OpenGLConfig {ImageRendering {AdjustRectangleRightAndBottom = yes}}
即可解决问题。Tecplot2017版本以下亲测可用,其他版本没测试过,可以的话,欢迎回来评论区说一下。
加入修改之前
加入两行文字之后