来自文件读取的数据图 [英] data plot from file reading

查看:86
本文介绍了来自文件读取的数据图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个MFC项目,现在数据生成为txt文件.文本文件中有两列.第一列将是x轴,第二列将是y轴.我想想像一下.所以我在上一个对话框中做了一个可视化按钮,然后当我单击该对话框时,我现在想知道我将如何读取生成的txt文件,然后如何绘制该文本,plz Emergency ans kinldy

解决方案

这与您发布搜索功能 [高速图表控件 [ 解决方案

This is essentially the same question as you posted here[^]. If you do not understand the basics of reading information from a file and plotting points, drawing lines, on an output device then you need to go back to your study guides and programming tutorials and spend some time getting familiar with these aspects of development.


Read the data in the opposite way you have written them into arrays (type of arrays depends on the used visualization implementation).

There are many articles here on CodeProject about graphical visualization of 2D data. Use the search function[^].

One of my favorites is the High-speed Charting Control[^].


这篇关于来自文件读取的数据图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆