实时曲线的VC代码,源程序。
clPlot 类写的单文档内,绘制曲线 CRect Rect; GetClientRect(Rect); m_Plot.Create(WS_CHILD|WS_VISIBLE,Rect,this,12000); m_Plot.SetSerie(0, PS_SOLID, RGB(255,0,0), 0.0, 2000.0, "Pressure"); m_Plot.SetSerie(1, PS_DOT, RGB(0,255,0), 0.0, 2000.0, "Pressure"); m_Plot.SetSerie(2, PS_DASH, RGB(0,0,255), 0.0, 2000.0, "Pressure"); m_Plot.SetSerie(3, PS_SOLID, RGB(255,255,0), 0.0, 2000.0, "Pressure"); m_Plot.SetLegend(0, PS_SOLID, RGB(255,0,0), "Temperature"); m_Plot.SetLegend(1, PS_DOT, RGB(0, 255,0), "Pressure"); m_Plot.SetLegend(2, PS_DASH, RGB(0,0,255), "Pressure"); m_Plot.SetLegend(3, PS_SOLID, RGB(255,255,0), "Pressure"); 255,0), "Pressure"); m_Plot.SetLegend(2, PS_DASH, RGB(0,0,255), "Pressure"); m_Plot.SetLegend(3, PS_SOLID, RGB(255,255,0), "Pressure");
文件列表
clPlot.rar
(预估有个45文件)
codefans.net
clPlot
demo.exe
120KB
clPlot.dll
120KB
plot
plot.aps
18KB
plot.def
158B
StdAfx.cpp
239B
plot.dsp
4KB
plot.rc
3KB
用户评论