设置图列(key/legend)的位置和大小 --gnuplot
2017-11-18 14:00
1226 查看
先看几个例子:
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 修改标注位置
//不显示图例。 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 修改标注位置
相关文章推荐
- 开发过程中遇到切图的大小的问题,以下是解决设置Android中RadioButton的图片大小和位置
- 设置Gvim的启动位置与窗口大小,代码折叠及配色等
- QT_OpenGL设置窗口出事位置和大小
- 设置GVIM的默认初试界面大小、启动位置
- 设置UIButton的文字显示位置、字体的大小、字体的颜色
- Unity3D ----- 动态设置UGUI中Text的大小和位置
- Selenium2学习-021-WebUI自动化实战实例-019-设置浏览器窗口位置大小
- Android studio 申请签名,设置签名key位置 查看 sha1
- 关于Cocos2d-x节点和精灵节点的坐标、位置以及大小的设置
- 设置UIButton的文字显示位置、字体的大小、字体的颜色
- 设置对话框大小和位置
- 如何精确定位固定大小的div在网页的中间位置并且不随分辨率的设置改变(位置大小都不变)
- 常用RadioGroup+Fragment点击切换,RadioButton图标设置自己想要的位置及大小
- iOS设置UIButton文字显示位置和字体大小、颜色的方法
- 设置自定义Dialog的大小和位置
- (四十)android在代码中,如何设置自定义对话框在屏幕中的位置和大小
- 设置UIButton的文字显示位置、字体的大小、字体的颜色
- Rhel7 Ldap为本地用户认证方式,设置域、服务器位置和下载key
- MFC中设置窗口大小位置
- 设置UIButton的文字显示位置、字体的大小、字体的颜色