用户名: 密码: 免费注册 忘记密码? 网站地图 | 加入收藏 | 设为首页
首页 | 新闻 | 工具 | 系统 | 办公 | 聊天 | 多媒体 | 网页 | 运营 | 平面 | 欣赏 | 数据库 | 程序 | 服务器 | 组网
网页 | 3dmax | Ghost | Windows Xp| Dreamweaver | photoshop | Flash | office | Alexa | Css | QQ | Asp | PHP | Jsp | Access
Flash MX 2004入门 | 网站推广策略 | CorelDRAW入门 | ASP学习 | 网站建设大师功 | Word入门
  iTbulo.com > 学院 > 办公软件教程 > PowerPoint教程 > PowerPoint技巧 > 正文
轻松做PowerPoint教案演示正弦波
iTbulo.COM 2006-10-10 宋志明()

  想要一个坐标系?呵呵,如果您不怕麻烦,当然可以了。做第三个按钮,按钮文字为“画坐标系”,编辑代码为:

  rivate Sub CommandButton3_Click()
  h = 100
  k = 200
  Length = 15.7
  Number = 500
  Dim xx
  xx = 1
  Do While xx < Number
  If xx Mod 4 = 0 Then
  SlideShowWindows(1).View.DrawLine h + xx * Length, k - 7, h + xx * Length, k
  SlideShowWindows(1).View.DrawLine h - xx * Length, k - 7, h - xx * Length, k
  SlideShowWindows(1).View.DrawLine h, k - xx * (Length + 4.3), h + 7, k - xx * (Length + 4.3)
  SlideShowWindows(1).View.DrawLine h, k + xx * (Length + 4.3), h + 7, k + xx * (Length + 4.3)
  Else
  SlideShowWindows(1).View.DrawLine h + xx * Length, k - 3, h + xx * Length, k
  SlideShowWindows(1).View.DrawLine h - xx * Length, k - 3, h - xx * Length, k
  SlideShowWindows(1).View.DrawLine h, k - xx * (Length + 4.3), h + 3, k - xx * (Length + 4.3)
  SlideShowWindows(1).View.DrawLine h, k + xx * (Length + 4.3), h + 3, k + xx * (Length + 4.3)
  End If
  xx = xx + 1
  Loop
  SlideShowWindows(1).View.DrawLine h, k, h + xx * Length, k
  SlideShowWindows(1).View.DrawLine h - xx * Length, k, h, k
  SlideShowWindows(1).View.DrawLine h, k, h, k - xx * Length
  SlideShowWindows(1).View.DrawLine h, k, h, k + xx * Length
  End Sub

  行了,再试一次。如图6所示。呵呵,够“专业”吧?用它来演示正弦波,不错吧?

点击放大此图片

上一页  [1] [2] [3] [4] 

文章搜索
相关资讯
相关文章 相关下载
提取PPT文件中的GIF动画
PowerPoint杀手?Google将推出幻灯片工具
PowerPoint演示文档中声音的控制技巧
在PowerPoint中构筑绚丽的3D图形
在PowerPoint 2007中变换复杂公式的颜色
焦点信息