【发布时间】:2022-01-04 04:11:41
【问题描述】:
以下 gnuplot sn-p 生成一个多图,显示通过标准输入移植的六个数据图,但使用的特殊文件名“-”也打印在输出上:
set term epslatex color
set output 'mwe.tex'
set multiplot layout 3,2 scale 1,1 columnsfirst
set xrange [-3.1415:3.1415]
set yrange[-1.0:1.0]
set cbrange [-1:1]
set size ratio -1.0
set palette rgb 33,13,10
unset colorbox
plot '-' with image
-3.1416 -1.00 0.00
-3.1089 -1.00 0.00
(...)
e
(...)
unset multiplot
(在 unset multiplot 命令之前使用不同的输入重复六次'plot' 命令以及随后的直到并包括'e'。)
输出显示为here。特殊文件名“-”必须包含在绘图命令中以绘制内联数据,但它不应显示在结果图中。如何避免这种行为?
在 epslatex 中使用“独立”术语选项时问题仍然存在,但在使用其他终端时不会出现。
我使用 gnuplot 4.6 补丁 2。
【问题讨论】:
-
欢迎来到 StackOverflow!您是否尝试过
plot '-' with image notitle或绘图命令set key noautotitle之前的一行? -
多谢,解决了!
标签: gnuplot