- 2025-04-09 21:01:36
gunplot的很多命令和选项可以缩写, 这样敲命令的时候可以节省点精力. 在创建gnuplot的语法高亮规则时, 也要整理其关键词与缩写. 最全的资料来源是gnuplot源码中的./src/tables.c
与./src/tables.h
. 下面就是根据这两个文件整理的, 其中的每个关键词都可以只用[
前面的几个字母.
实际命令
ra[ise]
low[er]
bi[nd]
array
break
ca[ll]
cd
cl[ear]
continue
do
eval[uate]
ex[it]
f[it]
function]
h[elp]
hi[story]
if
import
else
l[oad]
local
pa[use]
p[lot]
pr[int]
printerr[or]
pwd
q[uit]
ref[resh]
remulti[plot]
rep[lot]
reread
res[et]
return
sa[ve]
scr[eendump]
se[t]
she[ll]
sh[ow]
sp[lot]
st[ats]
sy[stem]
test
tog[gle]
und[efine]
uns[et]
up[date]
vclear
vfill
vgfill
voxel
warn
while
plot ax[ei]s
参数
x1y1
x2y2
x1y2
x2y1
plot smooth
参数
a[csplines]
bins
b[ezier]
c[splines]
s[bezier]
u[nique]
unwrap
f[requency]
cum[ulative]
k[density]
cn[ormal]
mcs[plines]
fnor[mal]
z[sort]
path
convex[hull]
dgrid3d
模式
qnorm
spline[s]
gauss
exp
cauchy
box
hann
save
命令参数
data[blocks]
fit
fun[ctions]
set
ter[minal]
var[iables]
change[s]
set
, show
命令参数
a[ll]
ac[tion_table]
at
an[gles]
ar[row]
au[toscale]
b[ars]
bind
bor[der]
boxdepth
box[width]
clabel
clip
cntrp[aram]
cntrl[abel]
colormap[s]
cont[ours]
contourfill
cornerp[oles]
dasht[ype]
dt
da[ta]
- ``
data[file]
- ``
debug
dg[rid3d]
du[mmy]
enc[oding]
dec[imalsign]
errorbars
fit
fontpath
fo[rmat]
fu[nction]
fu[nctions]
g[rid]
help
hid[den3d]
historysize
his[tory]
pixmap[s]
isosurf[ace]
iso[samples]
isotropic
jitter
k[ey]
keyt[itle]
la[bel]
link
lines[tyle]
linetype[s]
ls
lt
loa[dpath]
loc[ale]
log[scale]
mac[ros]
map[ping]
map[ping3d]
- ``
mar[gins]
lmar[gin]
rmar[gin]
tmar[gin]
bmar[gin]
- ``
micro
minus[sign]
mo[use]
mono[chrome]
multi[plot]
- ``
mxt[ics]
nomxt[ics]
mx2t[ics]
nomx2t[ics]
myt[ics]
nomyt[ics]
my2t[ics]
nomy2t[ics]
mzt[ics]
nomzt[ics]
mrt[ics]
mtt[ics]
mcbt[ics]
nomcbt[ics]
nonlinear
of[fsets]
or[igin]
o[utput]
overflow
pa[rametric]
pm[3d]
pal[ette]
color
colorb[ox]
colorn[ames]
colors[equence]
p[lot]
pointint[ervalbox]
poi[ntsize]
pol[ar]
pr[int]
psdir
obj[ect]
wall[s]
rgbmax
sa[mples]
si[ze]
st[yle]
su[rface]
spider[plot]
table
t[erminal]
termopt[ions]
theta[0]
ti[cs]
ticsc[ale]
ticsl[evel]
timef[mt]
times[tamp]
tit[le]
v[ariables]
ve[rsion]
vi[ew]
xyp[lane]
- ``
xda[ta]
x2da[ta]
yda[ta]
y2da[ta]
zda[ta]
cbda[ta]
- ``
xl[abel]
x2l[abel]
yl[abel]
y2l[abel]
zl[abel]
cbl[abel]
rlabel
- ``
xti[cs]
noxti[cs]
x2ti[cs]
nox2ti[cs]
yti[cs]
noyti[cs]
y2ti[cs]
noy2ti[cs]
zti[cs]
nozti[cs]
rti[cs]
tti[cs]
cbti[cs]
nocbti[cs]
- ``
xdti[cs]
noxdti[cs]
x2dti[cs]
nox2dti[cs]
ydti[cs]
noydti[cs]
y2dti[cs]
noy2dti[cs]
zdti[cs]
nozdti[cs]
cbdti[cs]
nocbdti[cs]
- ``
xmti[cs]
noxmti[cs]
x2mti[cs]
nox2mti[cs]
ymti[cs]
noymti[cs]
y2mti[cs]
noy2mti[cs]
zmti[cs]
nozmti[cs]
cbmti[cs]
nocbmti[cs]
- ``
xr[ange]
x2r[ange]
yr[ange]
y2r[ange]
zr[ange]
cbr[ange]
rr[ange]
tr[ange]
ur[ange]
vr[ange]
- ``
vgrid
vxr[ange]
vyr[ange]
vzr[ange]
- ``
xzeroa[xis]
x2zeroa[xis]
yzeroa[xis]
y2zeroa[xis]
zzeroa[xis]
zeroa[xis]
rax[is]
paxis
- ``
z[ero]
watch[points]
warn[ings]
set hidden3d
选项
def[aults]
off[set]
nooff[set]
tri[anglepattern]
undef[ined]
nound[efined]
alt[diagonal]
noalt[diagonal]
bent[over]
nobent[over]
front
back
set key
选项
def[ault]
on
off
offset
t[op]
b[ottom]
l[eft]
r[ight]
c[enter]
ver[tical]
hor[izontal]
ov[er]
ab[ove]
u[nder]
be[low]
at
ins[ide]
o[utside]
fix[ed]
tm[argin]
bm[argin]
lm[argin]
rm[argin]
L[eft]
R[ight]
rev[erse]
norev[erse]
inv[ert]
noinv[ert]
enh[anced]
noenh[anced]
b[ox]
nob[ox]
sa[mplen]
sp[acing]
w[idth]
h[eight]
keyw[idth]
a[utotitles]
noa[utotitles]
ti[tle]
noti[tle]
font
tc
text[color]
col[s]
colu[mns]
maxcol[s]
maxcolu[mns]
maxrow[s]
opaque
noopaque
test
命令选项
term[inal]
pal[ette]
set colorbox
选项
v[ertical]
h[orizontal]
def[ault]
u[ser]
at
bot[tom]
bo[rder]
bd[efault]
nobo[rder]
o[rigin]
s[ize]
inv[ert]
noinv[ert]
fr[ont]
ba[ck]
set palette
选项
pos[itive]
neg[ative]
gray[scale]
grey[scale]
colormap
col[or]
rgb[formulae]
def[ined]
file
func[tions]
mo[del]
nops_allcF
ps_allcF
maxc[olors]
gam[ma]
cubehelix
viridis
颜色模式选项
RGB
HSV
CMY
set pm3d
选项
at
interp[olate]
scansfor[ward]
scansback[ward]
scansauto[matic]
dep[thorder]
fl[ush]
ftr[iangles]
noftr[iangles]
clip[z]
clip1[in]
clip4[in]
clipcb
noclipcb
map
bo[rder]
nobo[rder]
hi[dden3d]
nohi[dden3d]
so[lid]
notr[ansparent]
noso[lid]
tr[ansparent]
i[mplicit]
noe[xplicit]
noi[mplicit]
e[xplicit]
corners2c[olor]
light[ing]
nolight[ing]
spot[light]
set palette defined
用到的RGB颜色名称
white
black
dark-grey
red
web-green
web-blue
dark-magenta
dark-cyan
dark-orange
dark-yellow
royalblue
goldenrod
dark-spring-green
purple
steelblue
dark-red
dark-chartreuse
orchid
aquamarine
brown
yellow
turquoise
灰度
grey0
grey10
grey20
grey30
grey40
grey50
grey60
grey70
grey
grey80
grey90
grey100
一些随机颜色名称
light-red
light-green
light-blue
light-magenta
light-cyan
light-goldenrod
light-pink
light-turquoise
gold
green
dark-green
spring-green
forest-green
sea-green
blue
dark-blue
midnight-blue
navy
medium-blue
skyblue
cyan
magenta
dark-turquoise
dark-pink
coral
light-coral
orange-red
salmon
dark-salmon
khaki
dark-khaki
dark-goldenrod
beige
olive
orange
violet
dark-violet
plum
dark-plum
dark-olivegreen
- ``
orangered4
brown4
sienna4
orchid4
mediumpurple3
slateblue
yellow4
sienna1
tan1
sandybrown
light-salmon
pink
khaki1
lemonchiffon
bisque
honeydew
slategrey
seagreen
antiquewhite
chartreuse
greenyellow
颜色别名
gray
light-gray
light-grey
dark-gray
slategray
gray0
gray10
gray20
gray30
gray40
gray50
gray60
gray70
gray80
gray90
gray100
show style
选项
d[ata]
f[unction]
l[ines]
fill
fs
ar[row]
incr[ement]
hist[ogram]
circ[le]
ell[ipse]
rect[angle]
boxplot
parallel[axis]
spider[plot]
textbox
watch[points]
plot style
选项
l[ines]
i[mpulses]
p[oints]
linesp[oints]
lp
d[ots]
yerrorl[ines]
errorl[ines]
xerrorl[ines]
xyerrorl[ines]
ye[rrorbars]
e[rrorbars]
xe[rrorbars]
xye[rrorbars]
boxes
hist[ograms]
isosurface
filledc[urves]
boxer[rorbars]
boxx[yerrorbars]
st[eps]
fillst[eps]
fs[teps]
his[teps]
hs[teps]
vec[tors]
arrow[s]
fin[ancebars]
can[dlesticks]
boxplot
pm[3d]
poly[gons]
labels
ima[ge]
rgbima[ge]
rgba[lpha]
cir[cles]
sec[tors]
ell[ipses]
sur[face]
parallel[axes]
spider[plot]
table
zerror[fill]
mask
contourfill
filledcurves
选项
c[losed]
x[1]
y1
x2
y2
xy
r
above
below
between
y
fit
输出级别
brief
quiet
noquiet
results
verbose