- 积分
- 16
- 注册时间
- 2009-9-12
- 仿真币
-
- 最后登录
- 1970-1-1
|
本帖最后由 maplelab 于 2009-11-26 16:42 编辑
在Maple中,有绘制双y轴的图形或者动画的专门命令,该命令使得这种绘图成为极易的"全自动"的事情.
以下只示例图形(由于动画文件太大,无法上传):- plots[dualaxisplot](plot(sin(x), x = 0 .. 2*Pi, color = blue, labels = [x, sin(x)], axes = boxed), plot(50*cos(x), x = 0 .. 2*Pi, color = red, labels = [x, 50*cos(x)], axes = boxed))
复制代码
以下是动画效果的代码:- plots[dualaxisplot](plots[animatecurve](sin(x), x = 0 .. 2*Pi, labels = [x, sin(x)], color = blue), plots[animatecurve](50*cos(x), x = 0 .. 2*Pi, labels = [x, 50*cos(x)], color = red))
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|