본문 바로가기

Robotics/Software Tech.

[MFC] 쓸만한 2D 그래프 컨트롤


쓸만한 그래프 컨트롤을 찾다가 코드구루(http://www.codeguru.com)에서 쓸만한 컨트롤을 봤다.
참조 : http://www.codeguru.com/cpp/cpp/cpp_mfc/general/article.php/c8535/

올라와있는 그래프 컨트롤은 이미 데이터가 저장된 상태에서 그래프를 보여주는 것이다. 이것을 수정하여 실시간으로 그래프를 업데이트를 하게한다면 쓸만한 컨트롤이 나올것같다.

한번 소스를 수정해서 더욱더 쓸만하게 만들어 볼까?


A 2D Lite Graph Control with Multiple Plot Support
Rating:

MycroftH (view profile)
November 23, 2004

Environment:  MS VC++ 6.0, Windows 2000

This is a simple, lightweight 2D graph control that supports multiple plots as well as printing. Why make another graph control? This one gives the user basic functionality which would make a great oscilloscope without a lot of extra features getting in the way. Because it is so small, it's also a great base from which to develop a more fully featured specialized graph–the very essence of OOP!

Note: It makes use of the MemDC class written by Keith Rule, and downloaded from Codeguru.com.


Downloads

  • LinePlotExe.zip -
  • LinePlotTest.zip -