- 积分
- 5
- 注册时间
- 2007-1-31
- 仿真币
-
- 最后登录
- 1970-1-1
|
发表于 2010-3-18 09:33:30
|
显示全部楼层
来自 上海徐汇区
旋转图形:
1. ImageTools[Rotate] - rotate an image in increments of 90 degrees
例子:
> img := Create(100, 200, proc (r, c) options operator, arrow; .5+evalf(exp(-(1/50)*c)*.5*sin((1/20)*r)) end proc)
> img1 := Rotate(img, 90)
> img2 := Rotate(img, 180)
> img3 := Rotate(img, 270)
> View([img, img1], [img3, img2])
2. plottools[rotate] - rotate PLOT and PLOT3D data structures
> with(plottools)
> with(plots)
> p := plot([sin(x), x, x = 0 .. 2*Pi])
> r := rotate(p, (1/3)*Pi)
> display(p, r)
3. 三维图形,直接用鼠标操作就可以。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
评分
-
1
查看全部评分
-
|