计算机与应用化学
計算機與應用化學
계산궤여응용화학
COMPUTERS AND APPLIED CHEMISTRY
2009年
6期
763-766
,共4页
数据拟合%绘图%VB%MatrixVB%Measurement Studio
數據擬閤%繪圖%VB%MatrixVB%Measurement Studio
수거의합%회도%VB%MatrixVB%Measurement Studio
data fitting%graph drawing%VB%Matrix VB%measurement studio
针对VB集成环境下进行数据拟合和曲线图绘制的问题,给出了三种处理方法:(1)直接编写代码;(2)调用MatrixVB库中的函数;(3)使用Measurement Studio的数据分析和绘图控件.给出了具体的方法和主要代码,并在一个指数曲线附近随机生成一系列数据并用这3种方法进行拟合与绘图.结果表明,调用MatrixVB库中的函数或使用Measurement Studio控件比直接编写代码简洁方便.
針對VB集成環境下進行數據擬閤和麯線圖繪製的問題,給齣瞭三種處理方法:(1)直接編寫代碼;(2)調用MatrixVB庫中的函數;(3)使用Measurement Studio的數據分析和繪圖控件.給齣瞭具體的方法和主要代碼,併在一箇指數麯線附近隨機生成一繫列數據併用這3種方法進行擬閤與繪圖.結果錶明,調用MatrixVB庫中的函數或使用Measurement Studio控件比直接編寫代碼簡潔方便.
침대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.