设置图列(key/legend)的位置和大小 --gnuplot
来源:互联网 发布:韩春雨 知乎 编辑:程序博客网 时间:2024/05/16 06:49
先看几个例子:
//不显示图例。unset key//设置图例 显示在图形(内)的顶部居中,并且多个图例水平显示。set key top horizontal center//设置图例 显示在图形(外)的顶部居中,并且多个图例水平显示。set key top outside horizontal center//设置图例 显示的字体并加粗。set key font "Times,18,Bold"//调整图例行间隔set key spacing 3//调整图例中线段示例长度set key samplen 2
set key 的语法规则
Syntax: set key {on|off} {default} {{inside | outside} | {lmargin | rmargin | tmargin | bmargin} | {at <position>}} {left | right | center} {top | bottom | center} {vertical | horizontal} {Left | Right} {{no}reverse} {{no}invert} {samplen <sample_length>} {spacing <vertical_spacing>} {width <width_increment>} {height <height_increment>} {{no}autotitle {columnheader}} {title "<text>"} {{no}enhanced} {{no}box { {linestyle | ls <line_style>} | {linetype | lt <line_type>} {linewidth | lw <line_width>}}} unset key show key
Elements within the key are stacked according to vertical or horizontal. In the case of vertical, the key occupies as few columns as possible. That is, elements are aligned in a column until running out of vertical space at which point a new column is started. In the case of horizontal, the key occupies as few rows as possible.
图例是依据我们设置的水平显示或垂直显示进行堆叠式地显示。对于垂直显示,pnuplot会占用尽可能少的行来放置我们的图例,当图例在一行显示不下时,它会另启一行来显示。对于水平显示方式,pnuplot会占用尽可能少的列来放置我们的图例,当图例在一列显示不下时,它会另启一列来放置。The vertical spacing between lines is controlled by spacing. The spacing is set equal to the product of the pointsize, the vertical tic size, and vertical_spacing. The program will guarantee that the vertical spacing is no smaller than the character height.
The defaults for set key are on, right, top, vertical, Right, noreverse, noinvert, samplen 4, spacing 1.25, title “”, and nobox.
References:
set key
adjust size of key/legend
gnuplot 修改标注位置
- 设置图列(key/legend)的位置和大小 --gnuplot
- gnuplot 设置坐标轴名称的位置
- 设置自定义Dialog的大小和位置
- 指针的大小legend
- 设置对话框大小和位置
- 设置AlertDialog的大小位置
- 设置AlertDialog的大小位置
- 设置dialog的大小,位置
- jqgrid 设置 编辑窗体 的位置和大小的方法
- 设置 TableView 的 Cell 的位置和大小
- DIV层的大小和位置的设置
- 元素的位置和大小的百分比设置
- 设置窗口的客户区大小和位置
- 如何设置一个窗口的大小、位置和其他参数
- 3.9如何设置一个视图的初始位置和大小?
- 如何设置应用程序窗口的初始大小和位置
- MFC 设置弹出对话框的位置、大小和风格 SetWindowPos
- Android动态设置View的位置和大小
- JAVA【IO五】转换流
- 415. Add Strings
- 大数据早报:机器人公司优必选获腾讯 4000 万美元 C 轮融资 比特币逼近8000美元再创新高(11.18)
- c++primer 第五版
- 分析非结构化数据的10个步骤
- 设置图列(key/legend)的位置和大小 --gnuplot
- 商机 | 大数据/政务云采购清单 招标7起,最高招标价为850万(11.15-11.17)
- SQL Server安装教程
- 50.笔记 MySQL学习——利用事务处理保证语句
- CSS自适应网站布局媒体查询如何设置断点
- pod install 出错
- 51.笔记 MySQL学习——使用事务保存点句
- printf返回值
- 52.笔记 MySQL学习——事务隔离