基于VC++ 2008的大容量数据曲线绘制方法 |
| |
作者姓名: | 马志刚 刘文怡 |
| |
作者单位: | 1. 中北大学 仪器科学与动态测试教育部重点实验室, 电子测试技术重点实验室, 太原 030051;
2. 山西农业大学信息科学与工程学院, 山西 太谷 030801 |
| |
基金项目: | 国家自然科学基金(51275491)资助 |
| |
摘 要: | 针对大容量数据曲线绘制中的数据提取问题,提出"逐块读取"→"拼接数据"→"提取数据",最后达到"完整提取"的方式,可以实现对超过4 GB数据文件的处理.当数据量较大时,常规的绘图方法会暴露出效率低、绘图区域闪烁的问题.利用Polyline函数优化绘图程序,提高了绘图效率;采用双缓冲法解决绘图区域闪烁的问题,并进一步缩短了绘图时间.
|
关 键 词: | 大容量数据 曲线绘制 VC++ 2008 Polyline 双缓冲 |
收稿时间: | 2014-03-19 |
修稿时间: | 2014-04-25 |
Curve plotting method for large-capacity data based on VC++ 2008 |
| |
Authors: | MA Zhigang LIU Wenyi |
| |
Institution: | 1. Key Laboratory of Instrumentation Science & Dynamic Measurement of Ministry of Education, Science and Technology on Electronic Test & Measurement Laboratory, North University of China, Taiyuan 030051, China;
2. College of Information Science and Engineering, ShanXi Agricultural University, Taigu 030801, Shanxi, China |
| |
Abstract: | In view of the data extraction problems in large-capacity data curve plotting, the "data reading by-block" → "data join"→ "data extraction" achieving finally "full extraction" process is proposed, which can achieve the processing of the large-capacity data file over 4 GB. When the data quantity is large, conventional curve plotting methods may give rise to the low efficiency or the flicker problem in the plotting area. The "Polyline" function is employed to optimize the plotting program, and greatly improves the plotting efficiency. The dual-buffering method is adopted to eliminate the flicker in plotting area, and thus further shortens the drawing time. |
| |
Keywords: | large-capacity data curve plotting VC++ 2008 Polyline dual-buffering |
本文献已被 CNKI 等数据库收录! |
| 点击此处可从《》浏览原始摘要信息 |
| 点击此处可从《》下载免费的PDF全文 |
|