读书人

C++builder 6.0 使用Iocomp中的iPlot

发布时间: 2013-03-27 11:22:42 作者: rapoo

C++builder 6.0 使用Iocomp中的iPlot 控件,如何清除已有的图线
设计一个动态显示测量信号的FFT频谱图,如何避免重复绘制FFT变换后的图线
C++builder 6.0 使用Iocomp中的iPlot 控件,怎么清除已有的图线

C++builder 6.0 使用Iocomp中的iPlot 控件,怎么清除已有的图线

c++builder fft iPlot
[解决办法]
void __fastcall TForm1::Button1Click(TObject *Sender)
{
iPlot1->Channel[0]->Clear() ;
}
//---------------------------------------
void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
static int x = 0 ;
int y = random(255) ;
iPlot1->Channel[0]->AddXY(x++,y) ;
}
//---------------------------------------

读书人网 >C++ Builder

热点推荐