polar.dem

来自「智能画图软件」· DEM 代码 · 共 53 行

DEM
53
字号
## $Id: polar.dem,v 1.6 2004/01/13 07:01:10 sfeam Exp $## Show some of the new polar capabilities.#unset borderset clipset polarset xtics axis nomirrorset ytics axis nomirrorset samples 160set zeroaxisset trange [0:2*pi]set title "Three circles (with aspect ratio distortion)"plot .5,1,1.5pause -1 "Hit return to continue"set title ""set key boxplot cos(2*t)pause -1 "Hit return to continue"plot 2*sqrt(cos(t)),-2*sqrt(cos(t))pause -1 "Hit return to continue"plot sin(4*t),cos(4*t)set offset 0,0,0,0pause -1 "Hit return to continue"set xrange [-5:5]set yrange [-5:5]plot t/cos(3*t)pause -1 "Hit return to continue"set autoscaleplot 1-sin(t)pause -1 "Hit return to continue"set trange [0:12*pi]plot 2*tpause -1 "Hit return to continue"butterfly(x)=exp(cos(x))-2*cos(4*x)+sin(x/12)**5set samples 800print "This is a big one (many samples), be patient..."set title "Butterfly"unset keyplot butterfly(t)pause -1 "Hit return to continue"# undo what we've done abovereset

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?