-1

绘制这样的一维数组的最简单方法是什么:

double ad_data[64];
int i;
for(i=0; i<64; i++)
{
    ad_data[i] = sin( 1.0/16 * i * 3.1415 );
}

在qwt?

4

1 回答 1

0

That's THE universal and easiest (and maybe the only) way to do it. The difficulty is in changing the elements of the array and the difficulty depends on that what does the program does. So you can't make this any easier than that.

于 2012-01-15T16:56:33.167 回答