maple绘图
- 格式:ppt
- 大小:224.50 KB
- 文档页数:16
第6章 Maple 中作图6.1 二维函数作图命令plot6.1.1 二维函数作图用plot 命令可以画出一元函数在指定区间上的二维函数图形。
其用法有plot (函数,变量名) plot (函数,范围,选项)范围和选项均可省略,缺省时系统自动选取最佳设置。
最简单的plot 语句为plot(f(x),x=a..b) 画出f(x)在区间[a,b]上的图像,其中f 可为过程或表达式。
例:画出函数x x f sin )(1=在区间),(∞−∞上的图形。
> plot(sin(x)/x,x=-infinity..infinity);例:画出分段函数⎪⎩⎪⎨⎧>−≤≤−−<−−=ππππππx x x x x x x f )(sin )(21在区间]6,6[−上的图像。
> f:=x->piecewise(x<-Pi,-x-Pi,x<=Pi and x>=-Pi,sin(x),x>Pi,(x-Pi)/2):plot(f(x),x=-6..6);6.1.2 plot 选项 6.1.3 参数方程作图用plot 函数画参数曲线的一般形式为plot ([x(t),y(t),t=a..b],选项) 或plot ([[x(t),y(t),t=a..b],[u(t),v(t),t=c..d]],选项)在一个坐标系中同时画两条参数曲线。
例 :画参数曲线]2,0[sin cos 1π∈⎩⎨⎧=+=t t y tx ,。
> plot([1+cos(t),sin(t),t=0..2*Pi]);6.1.4 特殊坐标系下作图plot 通常画的是直角坐标下的函数图像,通过设置coords 选项,plot 也可以画出特殊坐标下的函数图像。
例如,画出极坐标下函数b t a t r r ≤≤=,)(的图形可用命令plot(r(t),t=a..b,coords=polar) 或 plot([r(t),t,t=a..b],coords=polar)在6.3小节中,还将给出plots 程序包中画特殊坐标系下的函数图像的命令,例如polarplot(r(t),t=a..b)例 :特殊坐标系下的函数图像。
(第六章M aple的绘图功能)§6.3 三维图形绘制三绘图原理上,三维图形与二维图形没有本质的区别,但由于涉及到如何在二维的显示设备上表示的问题,在图形学中,三维图形增加了投影方式的选择。
然而在Maple系统中,用户却不需要考虑投影方面的问题,因为几乎所有的三维图形都是以斜投影的方式表示的。
用户可以改变的,只有物体的方向以及视点的远近。
由于三维图形绘制时可以选择的参数同二维图形基本类似,所以在对plot3d函数做基本介绍后,本节的重点将转移到一些plot程序库附带的其他三维图形绘制函数上,比如等高线、密度图等的绘制。
6.3.1 基本三维函数图形的生成由于现实中人们熟知的三维图形一般并非简单函数可以生成的,即使可以表示,也涉及到很多参数的设定,所以在实际三维绘图中,plot3d函数并不像plot函数那样常用。
一般只是用它对三维函数曲线进行绘绘制。
它的使用方法同plot函数几乎完全一样,比如利用简化输入绘制一个三维曲面:> f:=(x,y)->cos(x*y):> plot3d(f,-3..3,-2..2,orientation=[160,50]);之所以称这种输入方法为简化输入,因为我们在输入坐标范围的时候,并不是按照“x=a..b,y=c..d”这种规则形式书写的,而是直接写成“a..b,c..d”的形式。
注意这样的输入方法只对函数变量定义为“x,y”的形式有效,系统会自动将坐标x轴的范围定义为“a..b”,而将y轴定义为“c..d”。
同样,在plot函数中也可以对变量被定义为x的函数使用这种简化输入法。
相对于二维的plot函数,plot3d在坐标轴的形式,曲线、曲面的式样等一些方面有新的参数。
在上例中使用的orientation参数就是其中之一,它可以确定用户的观察角度。
“[ ]”中的数值分别对应三维工具栏中θ角与ϕ角。
由于这些参数同plot 函数中的参数大同小异,本节不再讲述。
Maple在数学作图中的应用数学图像在数学中是非常重要的,通过数学图像我们可以解决很多难以计算或证明的问题,同时,图像往往能给人一种比较直观易懂的感觉,因而有时利用作图的方法解决数学问题时会起到柳暗花明的奇效。
但是,不是所有的图像都是那么容易作出来的。
在很多情况下,我们虽然能给出其表达式,却难以或者无法真正作出来,甚至有时连直观想象都很困难。
这时,运用Maple作图就显得非常方便了。
Maple具有强大的作图功能,它的作图方法也非常简单方便,只需输入简短的指令操作即可,当然函数表达式必须给出的,不论用参数方程,还是在不同的坐标系下作图,Maple都可以很好地完成任务,以下我以Maple 13为例,主要从多个例子来说明Maple在数学作图中的应用。
一、利用Maple作一些难以用尺规作图的图像(图1-1)。
例1.1 双曲抛物面(马鞍面)z xy输入指令:适当调整角度,即得下面的马鞍面(如图1-1)这样做显得非常方便易行,同时,通过不断调整图像的视角,我们可以更好地把握图形的各个特征,使我们对图像的认识更加全面和准确。
图1-1例1.2 函数441(,),,1sin cos f x y x y x x ππ=-≤≤++的图像。
输入指令:适当调整角度即得 图1-2例1.3 球面z=z=所围成立体及其表面。
输入指令:适当调整角度即得图1-3像例1.3中的这种类型的图像(曲面或者所围成的立体图形)在多元函数的积分中非常常见,通常作为多元函数积分的积分区域,通常这种区域是很难用尺规作图的,很大方面都要凭我们的空间想象。
而利用Maple作图,可以很好的展现图形的各个角度的情况,使图形显得十分直观(当然我们也可以直接用Maple计算积分)。
例1.4 阿基米德螺旋面()()(),02,,05,2u x y s t v x y s s s w x y ππ⎧=⎪⎪≤≤⎪=-⎨≤≤⎪⎪=+⎪⎩输入指令: plot3d适当调整角度,即得图1-4例1.5 在柱坐标和球坐标下函数(),cos f r r θθ=的图形。
第七章Maple的3D图形基本功能图7-01~06快捷绘图函数smartplot3d的运用smartplot3d(x^2+y^2);lprint(%);图1smartplot3d直接返回的图形和数据结构smartplot3d(abs(x)+abs(y)+abs(z)=4);lprint(%);图2smartplot3d还可以接受非初等函数的隐函数方程smartplot3d(x^2+y^2,x*y);lprint(%);图3smartplot3d可以接受多个表达式并可分别做交互式设置利用函数smartplt3d还可以绘制自定义的“分区函数”的图形。
M:=(x,y,z)->piecewise(y>0and x>0,1,-1);M(x,y,z);smartplot3d(M(x,y,z));lprint(%);图4利用smartplot3d绘制“分区函数”的图形(做过交互式设置)smartplot3d函数具有multyple功能,因而可以绘制曲面族的图形。
smartplot3d(seq(x^2+y^2+125*i,i=1..4));图5利用smartplot3d函数的multyple功能绘制曲面族的图形可以把smartplot3d函数返回的图形数据结构拷入一个执行组,并添加一些plot设置选项,再次执行。
INTERFACE_SMARTPLOT3D([x^2+y^2,x,y,_NoZ],style=LINE,a xes=frame,color=blue);lprint(%);图6把图1的返回数据拷入一个执行组,并添加一些设置选项,再次执行的结果图73D图形窗口图83D图形工具栏的第一组图93D图形工具栏的第二组图10各钮对应的图形样式图113D图形工具栏的第三组图12不同样式的坐标架图13Style级联菜单图14Color级联菜单INTERFACE_SMARTPLOT3D([x^2+y^2-z^2=1,x,y,z],color=cya n,view=[-3..3,-3..3,-2..2]);图15按着命令语句生成的图形图16鼠标指向图形,颜色变得灰暗图17选中color命令引出级联菜单图186条命令的不同着色效果图19使用曲面样式选项和颜色选项分别设置的实例图20坐标架的四种样式图21Ranges命令可确定各个坐标轴的显示范围图22Projection级联菜单图23不同的投影类型图24绘制3D图形的子菜单命令图25从返回信息中选定一个三元表达式,绘制快捷图形图26从返回信息中选定一个二元表达式,绘制3D快捷图形图27从返回信息中选定一个二元表达式,绘制2D快捷图形图28从返回信息中选定一个一元表达式,绘制2D快捷图形图29从返回信息中选定一个一元表达式,绘制3D快捷图形图30 6.0中选定单变量表达式只能绘制2D图形图317.0中选定单变量表达式还能绘制3D图形图7-32~34plot3d的调用语句plot3d(x*exp(-x^2-y^2),x=-2..2,y=-2..2,color=green);图32用plot3d绘制单片曲面plot3d([sin(x)*cos(y),sin(x)*sin(y),cos(x)],x=0..Pi/2, y=0..x);图33用plot3d绘制参数曲面plot3d([x,y,sqrt(4-x^2-y^2)],x=-1.999..1.999,y=-sqrt( 4-x^2)+1/920..sqrt(4-x^2),grid=[15,35]);图34参数曲面,变量y的范围界线是x的函数图7-35~41plot3d的调用语句的设置选项plot3d(1,t=0..2*Pi,p=0..Pi,orientation=[50,70],scalin g=constrained,axes=box);plot3d(1,t=0..2*Pi,p=0..Pi,coords=cylindrical,scaling =constrained,orientation=[50,70],axes=box);plot3d(1,t=0..2*Pi,p=0..Pi,coords=spherical,scaling=c onstrained,orientation=[50,70],axes=box);图35表达式“1”在三种坐标系(直角系、圆柱系、球面系)中的图形plot3d(v,u=0..2*Pi,v=-1..1,title=`CONE`,scaling=uncon strained,orientation=[50,70],axes=box);plot3d(v,u=0..2*Pi,v=-1..1,coords=cylindrical,title=` CONE`,scaling=unconstrained,orientation=[50,70],axes= box);plot3d(v,u=0..2*Pi,v=-1..1,coords=spherical,title=`CONE`,scaling=unconstrained,orientation=[50,70],axes=bo x);图36表达式“v ”在三种坐标系(直角系、圆柱系、球面系)中的图形plot3d(u,u=0..2*Pi,v=-2..2,title=`CONE`,scaling=uncon strained,orientation=[50,70],axes=box);plot3d(u,u=0..2*Pi,v=-2..2,coords=cylindrical,title=`CONE`,scaling=unconstrained,orientation=[50,70],axes=box);plot3d(u,u=0..2*Pi,v=-2..2,coords=spherical,title=`CO NE`,scaling=unconstrained,orientation=[50,70],axes=bo x);图37表达式“u ”在三种坐标系(直角系、圆柱系、球面系)中的图形plot3d((1.3)^x*sin(y),x=-1..2*Pi,y=0..Pi,style=patch);plot3d((1.3)^x*sin(y),x=-1..2*Pi,y=0..Pi,coords=cylin drical,style=patch);plot3d((1.3)^x*sin(y),x=-1..2*Pi,y=0..Pi,coords=spher ical,style=patch);图38表达式“(1.3)^x*sin(y)”在三种坐标系(直角系、圆柱系、球面系)中的图形范围的端值可以使用变量在某些情况下,范围的端值可以使用变量。
第五章绘图:作图有两个软件包。
(1)图形软件包,用with(plots)调入。
(2)图形工具包with(plottools)图形包)中有下列作图命令:animate, animate3d动画changecoords改变坐标系complexplot, complexplot3d复函数图conformal contourplot contourplot3d coordplot coordplot3d cylinderplot柱坐标函数图densityplot密度图display display3d图函数显示fieldplot fieldplot3d区域图gradplot gradplot3d梯度图implicitplot implicitplot3d 隐函数图inequal listcontplot listcontplot3d listdensityplot listplot listplot3d loglogplot logplot matrixplot odeplot微分方程数值解图pareto pointplot pointplot3d点图polarplot极坐标图polygonplot polygonplot3d多边形图polyhedraplot replot rootlocus semilogplot setoptions setoptions3d作图选项设置spacecurve空间曲线图sparsematrixplot sphereplot球坐标图surfdata textplot textplot3d tubeplot工具包中有下列图形工具:arc弧arrow 箭头circle圆cone 圆锥cuboid长方体curve曲线cutin cutout cylinder柱disk 圆盘dodecahedron十二面ellipse椭圆ellipticArc椭圆弧hemisphere半球hexahedron 六面体hyperbola双曲线icosahedron二十面体line线段octahedron八面体pieslice point点polygon多边形rectangle矩形semitorus sphere球tetrahedron四面体torus轮第一节二维曲线图:一.基本命令(不需调图形包)plot({f1(x),f2(x),…},x=a..b,选项);一元函数曲线plot(f,a..b,选项); 作过程函数图x=a..b(中间两点)表示变量x在[a,b]区间。
Maple作图命令详解在使用Maple进行计算的时候,很多情况下需要对函数进行绘图以便能够进行更深入的研究与说明,那么,在Maple中怎样作图呢?作图的命令有哪些呢?作图有两个软件包。
(1)图形软件包,用with(plots)调入。
(2)图形工具包with(plottools)图形包中有下列作图命令:animate、animate3d 动画;changecoords 改变坐标系;complexplot、complexplot3d复函数图;conformal、contourplot、contourplot3d、coordplot、coordplot3d、cylinderplo柱坐标函数图;densityplot密度图;display、display3d图函数显示;fieldplot、fieldplot3d区域图;gradplot、gradplot3d梯度图;implicitplot、implicitplot3d隐函数图;inequal listcontplot、listcontplot3d listdensityplot、listplot listplot3d、loglogplot、logplot、matrixplot、odeplot微分方程数值解图;pareto pointplot、pointplot3d点图;polarplot极坐标图;polygonplot、polygonplot3d多边形图;polyhedraplot、replot、rootlocus semilogplot、setoptions setoptions3d作图选项设置;spacecurve空间曲线图;sparsematrixplot、sphereplot球坐标图;surfdata textplot、textplot3d、tubeplot工具包中有下列图形工具:arc弧,arrow箭头,circle圆,cone圆锥,cuboid长方体,curve曲线,cutin cutout cylinder 柱,disk圆盘,dodecahedron十二面,ellipse椭圆,ellipticArc椭圆弧,hemisphere半球,hexahedron 六面体,hyperbola双曲线,icosahedron,二十面体,line线段,octahedron八面体,pieslice point点,polygon 多边形,rectangle矩形,semitorus、sphere球,tetrahedron四面体,torus轮Maple绘图示例基本命令(不需调图形包)一元函数曲线作过程函数图x=a..b(中间两点)表示变量x在[a,b]区间。
Maple 2022 中的绘图数据操作更加简便。
它的全新命令可以使用各种 2-D 和 3-D 的图形和动画来显示多种数值数据。
数据图形命令也可以与右击鼠标的下拉菜单中“图形”命令结合使用。
一个命令控制不同的图形:使用图形命令,通过简单指定你所需要的图形类型就能生成各种各样的图形。
作为这个命令的快捷方式,可以通过右击命令条中矩阵的下拉菜单选择“图形”——“数据图形”命令来选择你想要显示的数据类型。
Maple 绘图命令示例利用 Maple 绘图命令绘制的物体表面图形利用 Maple 绘图命令绘制的 3-D 图形利用 Maple 绘图命令绘制的密度图形全新的直观调用序列并且支持相同的数据类型数据图形命令可以调用序列,这使得生成图形时不用将你的数据转换到右边的表格中。
此外,在实例中调用 2 个或者更多序列会更加容易。
对数据的标注也可以是一个目录、向量、矩阵或者是箭头。
Maple 支持相同的数据类型在 2-D 点状图中调用序列可以使一个 x 值生成不同的 y 值图形集合变得很容易。
Maple 调用序列使一个 x 值生成不同的 y 值在 3-D 图面调用序列可以根据网格中 z 轴的数值联合调整 x 轴和 y 轴的值。
Maple 3-D 图中根据x、y 值生成 z 值2-D 点状图的更多功能利用数据绘图命令可以使用不少功能,使用这些功能你可以改变 2-D 点图的外观。
挪移一个点状图,为了能够更好地看到动画效果,右击鼠标选择“动画”——“演示”。
Maple 2-D 图的更多功能数据绘图会自动给不同的数据集合添加不同的颜色,但是如果你指定了一个单独的颜色,就会浮现不同的标识将这个数据集区分开来。
Maple 2-D 图中用不同的标识区分图形调色板功能可以改变选中的默认颜色。
Maple 2-D 图中用不同的颜色区分图形统计图数据绘图命令可以生成各种各样的统计图形并且能够将 Quandl 数据集合可视化。
Maple 2-D 图统计图示例比如统计图中的条形图和区域图都是可以的:Maple 2-D 图中的区域图示例Quandl 数据集合也是可以绘图的。
第九章3D图形数据对象及其绘图图9-01~11 3D图形数据对象的类型图9-01~03 GRID的数据结构及其对应图形PLOT3D(GRID(1..3,1..4,[[4,3,5,2],[3,5,7,0],[2,8,4,6]]) ,COLOR(RGB,1,0,0), AXESSTYLE(FRAME));图 1 第一种语句给出的GRID对象plot3d(x*y,x=-3..3,y=-4..4,grid=[3,4],axes=box,orienta tion=[-12,64]);Q:=%:lprint(Q);图 2 第二种形式的GRID对象通常出现在返回信息中PLOT3D(GRID(-3...3.,-4...4.,Array(1..3,1..4,{(1,1) =12.,(1, 2) = 4.,(1, 3) =-3.99999999999999912,(1,4)=-11.9999999999999982,(3,1) =-12.,(3,2)=-4.,(3,3)=3.99999999999999912,(3,4)=11.9999999999999982},datatype=flo at[8],storage=rectangular,order=C_order)),ORIENTATION(-12.,64.),AXESLABELS(x ,y,""),AXESSTYLE(BOX))若从返回的图形数据结构中取出Array,放入执行组中执行之后,返回一个三行四列矩阵样子的二维数组。
其各个元素的数值,正是Array中各个等式右端的数值。
该等式左端括号中的正整数是矩阵的行码和列码。
元素值为0的相关Array等式省略不写。
Array(1 .. 3,1 .. 4,{(1, 1) = 12., (1, 2) = 4., (1, 3) = -3.99999999999999912, (1, 4) = -11.9999999999999982, (3, 1) = -12., (3, 2) = -4., (3, 3) = 3.99999999999999912, (3, 4) = 11.9999999999999982},datatype = float[8],storage =rectangular,order = C_order);同一个单片曲面图形,可以使用两种形式的数据结构表示它的数据对象,效果是相同的。
[转载]maple之绘图篇~by zn~原⽂地址:maple之绘图篇~by zn~作者:ctrle如何设置maple中坐标轴的格式,look for help ?tickmarks还有⼀个问题尚未解决,就是maple中legend的位置只能放在“上下左右”四个位置,能不能⾃由放置legend哎,真费解啊,期待⾼⼈解决/maple 作图选项(图像中字体、字号等的设置)选项设置格式取值范围说明adaptive adaptive= true还有false⾃适应,取消axes axes=normal frame, boxed,normal, none坐标轴设置,四种axesfont axesfont=[family,style,size]参看plot,options 设置刻度线标号字形color color=n参看plot,color设置图象颜⾊coords coords=name polar (极坐标)参看plot[coords]选择作图所⽤坐标系discont discont=false还有true是否在间断点⽤垂直线连接filled filled=false还有true是否在图象和x轴之间填充font font=[family,style,size ]参看plot,options 设置图象中⽂字部分的字形labels labels=[x,y] 标记坐标轴labeldirections labeldirections=[x,y]horizontal, vertical设置坐标轴的⽅向Labelfont labelfont=[family,style,size ] 设置坐标轴标记的字形legend legend=s s是元素与曲线条数相同的表加⼊图例linestyle linestyle=11-4对应实线,点线,虚线和点划线设置图象线的类型numpoints numpoints =50正整数设置作图区间的分点数resolution resolution=200正整数设置图象的⽔平分辨率sample sample =[x1,..,xk]⾃变量的取值选定作图是必须取的点scaling scaling=unconstrained constrained x轴与y轴单位的⽐style,style=line point, 参看plot,options设置图象点之间的连接⽅式symbol symbol=point box, cross, circle设置图象中点的类型symbolsize symbolsize=10正整数,单位:吋/72设置图象中点的⼤⼩thickness thickness=01, 2, 3设置图象中线的厚度tickmarks tickmarks =[m,n]正整数或default设置图象中坐标轴标号个数title title =”…n…”n⽤作题⽬中的换⾏作图象标题titlefont titlefont[family,style,size ]参看plot,options 设置图象标题⽂字字形view view =[x1..x2, y1 ..y2] 设置图象坐标选取范围xtickmarks xtickmarks =n正整数设置横坐标轴标号个数Plotting Options (English help)The style of the displayed graph may be controlled with a number of plotting options embedded in the plotting command. For instance the command> plot3d(x^2+y^2, x=-1..1, y=-1..1, style=wireframe, grid=[15,15]);displays the graph in wireframe using a 15x15 grid. (Dynagraph's default action is to display the graph as a solid surface using an (invisible) grid of 25x25.)All options take the form option=value. These can be supplied to the plotting command in any order, separated by commas. The following list describes all the options recognized by dynagraph. These form a subset of options available in Maple. The listing below has been obtained mostly by cut-and-paste from Maple's online help. The options pointsize and the option values x_gridlines and y_gridlines are specific to dynagraph and do not exist in Maple.Option values which are keywords, such as WIREFRAME or HELVETICA can be typed either in all uppercase or all lowercase. Therefore axesfont=[HELVETICA,10] and axesfont=[helvetica,10] are equivalent. In the listing below only the uppercase variants are shown.Alphabetical listing of all optionsaxes=fThis option specifies how the axes are to be drawn, where f is one of BOXED, NORMAL, FRAME, and NONE.Default: axes=NONERemark: In this release of dynagraph all axes options other than NONE are treated as synonymous with BOXED. This may be fixed in future releases.axesfont=lThis option defines the font for the labels on the tick marks of the axes, specified in the same manner as font.Default: axesfont=[HELVETICA,10]color=colornamePrescribes a solid color for the object. Colorname may be any color name recognizable by the X server, such as "red" or "MidnightBlue", or an RGB specification such as "#009000". It must be quoted if it contains non-alphanumericcharacters. For the convenience of our continental friends, colour is provided as a synonym to color.contours=nThis option specifies the number of contours in a contour plot.Default: contours=10coords=cThis option specifies the coordinate system to be used, where c is one of CARTESIAN, SPHERICAL, CYLINDRICAL,Z_CYLINDRICAL.Default: coords=CARTESIANfont=fontspecThis option defines the font for text objects in the plot. Fontspec is a list of the form [family,style,size], where family is one of TIMES, COURIER, HELVETICA, and SYMBOL. For TIMES, style may be one of ROMAN, BOLD, ITALIC or BOLDITALIC. ForHELVETICA and COURIER style may be omitted or select one of BOLD, OBLIQUE, or BOLDOBLIQUE. SYMBOL does not accepta style option. The final value, size, is the point size to be used.Default: font=[HELVETICA,10]grid=[m,n]This option specifies the dimensions of the rectangular grid to use to represent a surface.Default: grid=[25,25]gridstyle=xThis option specifies the type of mesh which is drawn to represent the surface. The value of x is one of RECTANGULAR, TRIANGULAR, X_GRIDLINES, Y_GRIDLINES. (XY_GRIDLINES is also provided as a synonym for RECTANGULAR.) Note that these options set the mesh style but do not cause the mesh to be drawn. The drawing of the mesh is determined by the value of the style option described below.Default: gridstyle=RECTANGULARlabelfont=lThis option defines the font for the labels on the axes of the plot, specified in the same manner as font.Default: labelfont=[HELVETICA,12]labels=[x,y,z]This option specifies labels for the axes. The values of x, y, and z must be strings. The default label for the x and y axesare the names of the variables for the x and y axes and no label on the z axis. Labels are shown only when thecoords=CARTESIAN is in effect.linewidth=nSame as thickness=nnumpoints=nWhen plotting a surface this option specifies the minimum total number of points to be generated (default 625 = 25^2).Plot3d will use a rectangular grid of dimensions ~= sqrt(n). When plotting a spacecurve or a tube, this option specifies the number of points to use along the curve or along the axis of the tube. The default is 60.orientation=[longitude,colatitude]This option sets the viewing position at a point at infinity along the ray given by the spherical coordinates(longitude,colatitude), looking towards the origin.Default: orientation=[45,45]pointsize=nThis option defines the size (in pixels) of points drawn in the plots. n should be an integer from 0 to 10. 0 selects the default pointsize.Default: pointsize=3scaling=sThis option specifies whether the surface should be scaled so that it fits the screen with axes using a relative orabsolute scaling, where s is either UNCONSTRAINED or CONSTRAINED. The dynagraph graphics window is initially set to scaling=CONSTRAINED. The user may toggle the CONSTRAINED/UNCONSTRAINED button at will. Subsequent graphs will obey the button's setting unless specified otherwise on the command line.shading=sThis option specifies how the surface is colored, where s is one of XYZ, XY, Z, ZGREYSCALE, ZHUE, NONE.Default: shading=XYZstyle=sThis specifies how the surface is to be drawn, where s is one of POINT, HIDDEN, PATCH, WIREFRAME, CONTOUR,PATCHNOGRID, PATCHCONTOUR, or LINE.Default: style=PATCHNOGRIDRemark: LINE is synonymous with WIREFRAMEthickness=nThis option defines the thickness (in pixels) of lines in the plots. n should be an integer from 0 to 10. 0 selects the default thickness.Default: thickness=1tickmarks=[l,n,m]This option specifies reasonable numbers no less than l, n and m should be marked along the x-axis, y-axis, and z-axis, respectively. Each tickmarks value must be a positive integer or zero, in which case no tickmarks will drawn on the corresponding axis.Default: tickmarks=[5,5,5]title=tThis option specifies a title for the plot. The value of t must be a string. The two-character sequence n (that is, abackslash followed by n) acts as a line break within the title string, thus making multi-line titles possible. Each line of a multi-line title is horizontally centered within the window.Default: no titletitlefont=lThis option defines the font for the title of the plot, specified in the same manner as font.Default: titlefont=[HELVETICA,BOLDOBLIQUE,14]tuberadius=rThis sets the radius of the tube in a tubeplot.Default: tuberadius=1.0tubepoints=nThis sets the number of points to use for drawing each cross-section of a tubeplot. Note that the circular cross section will appear to have only n-1 equally-spaced points on its circumference, because the first and last points coincide.Default: tubepoints=16view=zmin..zmax or view=[xmin..xmax,ymin..ymax,zmin..zmax]This option indicates the minimum and maximum coordinates of the surface to be displayed on the screen.Default: displays the entire surface/~rouben/dynagraph/index.html。