# gnuplot ###### tags: `note` reference: * [測量執行時間](https://www.techiedelight.com/find-execution-time-c-program/) * [clock_gettime](https://blog.gtwang.org/programming/measure-the-execution-time-in-c-language/2/) * [其他方式](https://www.techiedelight.com/find-execution-time-c-program/) * [List of performance analysis tools](https://en.wikipedia.org/wiki/List_of_performance_analysis_tools) * [測量 cycle 數](https://blog.gtwang.org/programming/measure-the-execution-time-in-c-language/) * [GCC 參數](http://gitqwerty777.github.io/gcc-usage/) * [gnuplot](http://www.gnuplot.info/) * [gnuplot 語法指令與解說](https://hackmd.io/@sysprog/Skwp-alOg?type=view) (看這個就差不多了) * [gnuplot 語法解說(影片)](https://www.youtube.com/watch?v=kQ6SyQtxzWM&feature=youtu.be&ab_channel=jkrvivian) * [基礎教學](https://blog.csdn.net/iemyxie/article/details/41548583) * [gnuplot 點線種類](https://www.itread01.com/p/165343.html) --- * 要比較程式執行時間的話要先自己跑時間計算,並將結果存成一個 dataset * gnuplot 再寫 script 去讀取 dataset 的資料 `script` 副檔名為 `.gp` * 簡單指令 > $ gnuplot <`script.gp`> (繪圖) > $ eog <`filename`> (看圖) * 繪圖 * gnuplot 會依據程式碼的 **順序** 來繪圖