用C改变gnuplot中的点的颜色

时间:2017-08-04 17:27:50

标签: c colors gnuplot point

我可以在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]); 
    }

0 个答案:

没有答案