dc1hawk 发表于 2007-4-11 09:49

maple绘制三维图形

maple绘制三维图形,怎么控制z(x,y)的z的显示范围
plot3d(z(x,y),x=0..10,y=-5..5);
z怎么控制,只能默认嘛?

[ 本帖最后由 suffer 于 2007-4-12 20:39 编辑 ]

eight 发表于 2007-4-11 09:53

原帖由 dc1hawk 于 2007-4-11 09:49 发表
maple绘制三维图形,怎么控制z(x,y)的z的显示范围
plot3d(z(x,y),x=0..10,y=-5..5);
z怎么控制,只能默认嘛?


help xlim

dc1hawk 发表于 2007-4-11 14:02

原帖由 eight 于 2007-4-11 09:53 发表



help xlim
maple 中没有这个帮助啊

eight 发表于 2007-4-11 15:33

原帖由 dc1hawk 于 2007-4-11 14:02 发表

maple 中没有这个帮助啊

看得太快,以为你问的是matlab,呵呵。maple的话不懂

dc1hawk 发表于 2007-4-11 16:16

不过还是很感谢楼上

suffer 发表于 2007-4-12 20:54

plot3d(f(x,y), x=xmin .. xmax, y=ymin .. ymax);
plot3d({f(x,y), g(x,y), …}, x=xmin .. xmax, y=ymin .. ymax);
plot3d(f(x,y), x=xmin .. xmax, y=ymin .. ymax, options);
其中,xmin..xmax为x的变化范围,ymin..ymax为y(即f(x))的变化范围. Option选项参数与二维时的情形相似,这里只列示新增指令的意义:
cotours:设定等高线的数目或者等高线的值
grid:设定组成曲面的样点数或方形网格的数量
gridstyle:设定网格的形状(rectangular—矩形,triangular—三角形)
orientation:设定观看图形的视角(但设定视角的最佳方式是用鼠标拖动图形)
projection:设定投影的模式
shading:设定曲面着色的方式
与二维情形相同,在Maple中三维绘图坐标系的选定使用命令coords,缺省坐标系为笛卡尔坐标系(cartesian),此外还有: bipolarcylindrical(双极坐标), bispherical(双球面坐标), cardioidal(心脏线坐标), cardioidcylindrical(心形柱坐标), casscylindrical(   ), confocalellip(共焦椭球坐标), confocalparab(共焦抛物线坐标), conical(锥形坐标), cylindrical(柱坐标), ellcylindrical(椭柱坐标), ellipsoidal(椭球坐标), hypercylindrical (超圆柱坐标), invcasscylindrical, invellcylindrical(逆椭球坐标), invoblspheroidal(), invprospheroidal(), logcoshcylindrical(双数双曲余弦柱坐标), logcylindrical(对数柱坐标), maxwellcylindrical(麦克斯韦柱坐标), oblatespheroidal(), paraboloidal(抛物面坐标), paracylindrical(参数柱坐标), prolatespheroidal(扁类球坐标), rosecylindrical(玫瑰形柱坐标), sixsphere(六球坐标), spherical(球坐标), tangentcylindrical(正切柱坐标), tangentsphere(正切球坐标)和toroidal(圆环面坐标).
> plot3d(x*y^2/(x^2+y^4),x=-1..1,y=-1..1,axes=boxed);

> plot3d(x*y/(x^2+y^2+2*x*y),x=-4..4,y=-4..4, axes=BOXED);

> plot3d(sin(x*y),x=-Pi..Pi,y=-Pi..Pi);

> plot3d({2*sin(x)*cos(y),-6*x/(x^2+y^2+1)},x=-4..4,y=-4..4);

> plot3d(sin(z/2), t=0..3*Pi/2, z=-4..4, coords=spherical);

> plot3d(1,t=0..2*Pi,p=0..Pi, coords=spherical, scaling=constrained);

> plot3d(sin(t)*sin(p^2), t=0..Pi, p=0..Pi, coords=spherical, grid=);

> plot3d(theta,theta=0..8*Pi,phi=0..Pi, coords=spherical, style=wireframe);

> plot3d(theta,theta=0..8*Pi,phi=0..Pi, coords=toroidal(2), style=wireframe);

> plot3d(theta,theta=0..8*Pi,z=-1..1, coords=cylindrical, style=patch):
页: [1]
查看完整版本: maple绘制三维图形