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");