- 积分
- 15
- 注册时间
- 2008-7-20
- 仿真币
-
- 最后登录
- 1970-1-1
|
发表于 2009-4-18 22:10:09
|
显示全部楼层
来自 黑龙江哈尔滨
贴一个3D图形的导出(来自wiki book)
--------------------------
> P := plot3d(sin(x*y),x=-2..2,y=-2..2):
> Q:= < op(indets(P,Array))>;
[ 25 x 25 Matrix ]
Q := [ Data Type: float[8] ]
[ Storage: rectangular ]
[ Order: C_order ]
You can then export this data to a file and insert in a spreadsheet.
1. Export to a tab delimited file:
Right-click on the output and choose:
Export As -> Tab Deliminated
save it to a tab-delimited format file with extension .xls. Click on the file (if the extension is associated) or import as tab delimited. Your data will then be in the spreadsheet.
2. The same result by a command:
> ExportMatrix("plot.xls",Q);
3. Only in Standard GUI (Maple 11 or later), export to .xls format:
> with(ExcelTools);
> Export(Q, "plot.xls");
------------------------------------------
2D也可以仿照这个思路来做,也简单,但是注意下,type中没有curves这个类型哦。 |
|