Gnuplot:系列标题之间的垂直空间 [英] Gnuplot: vertical space between series titles

查看:153
本文介绍了Gnuplot:系列标题之间的垂直空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改系列标题之间的垂直间隔.是否可以将系列标题分成两组,并在它们之间留出空隙,就像这样:

How to change the vertical space between series titles. Is it possible to separate the series titles into two groups and have a gap between them, like this one:

谢谢.

推荐答案

您可以在想要有空白的地方插入某种虚拟"图:

You can insert some kind of 'dummy' plot where you want to have the white space:

set xrange [0:4]
set key left
plot x, \
     2*x t '2x', \
     NaN title ' ' lt -3,\
     3*x t '3x',\
     4*x t '4x'

特殊线型-3根本不画任何线,使用linewidth 0不适用于所有终端(例如,后记).并且标题必须包含一个空格字符,否则键条目将被忽略.

The special linetype -3 doesn't draw any line at all, using linewidth 0 wouldn't work for all terminals (e.g. postscript). And the title must contain one space character, otherwise the key entry would be dismissed.

这篇关于Gnuplot:系列标题之间的垂直空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆