GNUPLOT传奇带有两个盒子/组和自定义标题
我有两种类型的数据/图,我想对它们进行分组以进行澄清。例如,可以说我有这四个数据图
set key box
pl x, x**2, sin(x), cos(x)
但是我想要的是这样的东西(每个组有两个框,每个组的自定义标题)
我该怎么做? GNUPLOT是否可以使用这种传说?
I have two types of data/plot and I want to group them for clarification. For example, lets say I have this four data plots
set key box
pl x, x**2, sin(x), cos(x)
And the legend box comes out to be something like
But what I want is something like this, (with two box for each group and a custom heading for each group)
How do I do this? Is this type of legend possible with gnuplot?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我担心,为此,
gnuplot
中没有囊液解决方案。但是您可以尝试多层
:
代码>和
第二个图的边界
。例如。:I fear, that there is no bulit-in solution in
Gnuplot
for that. But you can try withmultiplot
:EDIT
As Eldrad wrote, you can fine tuning this solution by setting the margins and unsetting the
tics
andborder
of the second plot. Eg.:没有直接创建两个键的直接选择,但是肯定有几种解决方法需要手动调整。一种方法可能是创建一个两柱键:
另一种方法可能基于手册中的
多个键
部分。There is no straightforward option to create two keys, but there are definitely several workarounds that will need manual adjustment. One approach could be creating a two-column key:
Another approach might be based on the
multiple keys
section in the manual.