- 2025-04-09 21:01:36
gunplot的很多命令和选项可以缩写, 这样敲命令的时候可以节省点精力. 在创建gnuplot的语法高亮规则时, 也要整理其关键词与缩写. 最全的资料来源是gnuplot源码中的./src/tables.c与./src/tables.h. 下面就是根据这两个文件整理的, 其中的每个关键词都可以只用[前面的几个字母.
实际命令
ra[ise]low[er]bi[nd]arraybreakca[ll]cdcl[ear]continuedoeval[uate]ex[it]f[it]function]h[elp]hi[story]ifimportelsel[oad]localpa[use]p[lot]pr[int]printerr[or]pwdq[uit]ref[resh]remulti[plot]rep[lot]rereadres[et]returnsa[ve]scr[eendump]se[t]she[ll]sh[ow]sp[lot]st[ats]sy[stem]testtog[gle]und[efine]uns[et]up[date]vclearvfillvgfillvoxelwarnwhile
plot ax[ei]s参数
x1y1x2y2x1y2x2y1
plot smooth 参数
a[csplines]binsb[ezier]c[splines]s[bezier]u[nique]unwrapf[requency]cum[ulative]k[density]cn[ormal]mcs[plines]fnor[mal]z[sort]pathconvex[hull]
dgrid3d模式
qnormspline[s]gaussexpcauchyboxhann
save命令参数
data[blocks]fitfun[ctions]setter[minal]var[iables]change[s]
set, show命令参数
a[ll]ac[tion_table]atan[gles]ar[row]au[toscale]b[ars]bindbor[der]boxdepthbox[width]clabelclipcntrp[aram]cntrl[abel]colormap[s]cont[ours]contourfillcornerp[oles]dasht[ype]dtda[ta]- ``
data[file]- ``
debugdg[rid3d]du[mmy]enc[oding]dec[imalsign]errorbarsfitfontpathfo[rmat]fu[nction]fu[nctions]g[rid]helphid[den3d]historysizehis[tory]pixmap[s]isosurf[ace]iso[samples]isotropicjitterk[ey]keyt[itle]la[bel]linklines[tyle]linetype[s]lsltloa[dpath]loc[ale]log[scale]mac[ros]map[ping]map[ping3d]- ``
mar[gins]lmar[gin]rmar[gin]tmar[gin]bmar[gin]- ``
microminus[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]nonlinearof[fsets]or[igin]o[utput]overflowpa[rametric]pm[3d]pal[ette]colorcolorb[ox]colorn[ames]colors[equence]p[lot]pointint[ervalbox]poi[ntsize]pol[ar]pr[int]psdirobj[ect]wall[s]rgbmaxsa[mples]si[ze]st[yle]su[rface]spider[plot]tablet[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]- ``
vgridvxr[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]frontback
set key选项
def[ault]onoffoffsett[op]b[ottom]l[eft]r[ight]c[enter]ver[tical]hor[izontal]ov[er]ab[ove]u[nder]be[low]atins[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]fonttctext[color]col[s]colu[mns]maxcol[s]maxcolu[mns]maxrow[s]opaquenoopaque
test命令选项
term[inal]pal[ette]
set colorbox选项
v[ertical]h[orizontal]def[ault]u[ser]atbot[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]colormapcol[or]rgb[formulae]def[ined]filefunc[tions]mo[del]nops_allcFps_allcFmaxc[olors]gam[ma]cubehelixviridis
颜色模式选项
RGBHSVCMY
set pm3d选项
atinterp[olate]scansfor[ward]scansback[ward]scansauto[matic]dep[thorder]fl[ush]ftr[iangles]noftr[iangles]clip[z]clip1[in]clip4[in]clipcbnoclipcbmapbo[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颜色名称
whiteblackdark-greyredweb-greenweb-bluedark-magentadark-cyandark-orangedark-yellowroyalbluegoldenroddark-spring-greenpurplesteelbluedark-reddark-chartreuseorchidaquamarinebrownyellowturquoise
灰度
grey0grey10grey20grey30grey40grey50grey60grey70greygrey80grey90grey100
一些随机颜色名称
light-redlight-greenlight-bluelight-magentalight-cyanlight-goldenrodlight-pinklight-turquoisegoldgreendark-greenspring-greenforest-greensea-greenbluedark-bluemidnight-bluenavymedium-blueskybluecyanmagentadark-turquoisedark-pinkcorallight-coralorange-redsalmondark-salmonkhakidark-khakidark-goldenrodbeigeoliveorangevioletdark-violetplumdark-plumdark-olivegreen- ``
orangered4brown4sienna4orchid4mediumpurple3slateblueyellow4sienna1tan1sandybrownlight-salmonpinkkhaki1lemonchiffonbisquehoneydewslategreyseagreenantiquewhitechartreusegreenyellow
颜色别名
graylight-graylight-greydark-grayslategraygray0gray10gray20gray30gray40gray50gray60gray70gray80gray90gray100
show style选项
d[ata]f[unction]l[ines]fillfsar[row]incr[ement]hist[ogram]circ[le]ell[ipse]rect[angle]boxplotparallel[axis]spider[plot]textboxwatch[points]
plot style选项
l[ines]i[mpulses]p[oints]linesp[oints]lpd[ots]yerrorl[ines]errorl[ines]xerrorl[ines]xyerrorl[ines]ye[rrorbars]e[rrorbars]xe[rrorbars]xye[rrorbars]boxeshist[ograms]isosurfacefilledc[urves]boxer[rorbars]boxx[yerrorbars]st[eps]fillst[eps]fs[teps]his[teps]hs[teps]vec[tors]arrow[s]fin[ancebars]can[dlesticks]boxplotpm[3d]poly[gons]labelsima[ge]rgbima[ge]rgba[lpha]cir[cles]sec[tors]ell[ipses]sur[face]parallel[axes]spider[plot]tablezerror[fill]maskcontourfill
filledcurves选项
c[losed]x[1]y1x2y2xyrabovebelowbetweeny
fit输出级别
briefquietnoquietresultsverbose