如何在VC ++ MFC基于对话框的应用程序中绘制2D Graph [英] How can I plot 2D Graph in VC++ MFC Dialog based application

查看:69
本文介绍了如何在VC ++ MFC基于对话框的应用程序中绘制2D Graph的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,我必须对来自硬件的一些数据实时绘制一个正弦波。我正在使用基于VC ++ MFC Dialog的应用程序。请帮助我。

在此先感谢

I have an application in which I have to plot one sine wave with respect to some data came from an hardware in real time.I am using VC++ MFC Dialog based application.Please help me.
Thanks in advance

推荐答案

您使用的是过时的技术,C#更易于使用。



有许多图形库。然而,现在,人们倾向于用C#写东西,你会找一些相当旧的东西,我想。不过,你基本上要求我们为你做这项工作。你应该能够做到这一点,你需要学习如何在你的表单上绘制(这在你的绘图事件中发生),然后你需要编写代码来绘制你的图形,就这么简单。
You're using pretty out dated technology, C# is easier to use.

There's any number of graphing libraries. However, nowadays, people tend to write stuff in C#, you'd be looking for something pretty old, I reckon. You're basically asking us to do the work for you, though. You should be able to do this, you need to learn how to draw on your form ( which happens in your paint event ), and then you need to write the code to draw your graph, it's that simple.


这篇关于如何在VC ++ MFC基于对话框的应用程序中绘制2D Graph的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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