我可以在gnuplot上做这样的事吗? 当buffer [i] == max更改点的颜色
时 fprintf(gnuplot, "if (\"%d\" == \"%d\") plot '-' with lines lw2; else plot '-' with lines lw 1 \n", buffer[i], max);
for (i = 0; i < NUM_POINTS; i++)
{
fprintf(gnuplot, "%d %d \n", i,buffer[i]);
}