摘要
针对VB集成环境下进行数据拟合和曲线图绘制的问题,给出了三种处理方法:(1)直接编写代码;(2)调用MatrixVB库中的函数;(3)使用Measurement Studio的数据分析和绘图控件。给出了具体的方法和主要代码,并在一个指数曲线附近随机生成一系列数据并用这3种方法进行拟合与绘图。结果表明,调用MatrixVB库中的函数或使用Measurement Studio控件比直接编写代码简洁方便。
Aiming at the problems of graph drawing and curve fitting in Microsoft Visual Basic (VB), three methods were presented in this paper: (1) programming in VB directly, (2) calling functions of MatrixVB library, and (3) using ActiveX controls of measurement studio. Detailed procedures and key codes were given, as well as an example of processing the data series generated randomly around an exponential curve. The results show that the methods of (1) calling functions of MatrixVB library and (2) using ActiveX controls of Measurement Studio are more convenient than the method of(1) programming in VB directly.
出处
《计算机与应用化学》
CAS
CSCD
北大核心
2009年第6期763-766,共4页
Computers and Applied Chemistry
基金
河南省高校新世纪优秀人才支持计划(2006HANCET-16)
河南理工大学青年骨干教师资助项目(649035)