close

install gnuplot on mac os

1. 需要gcc compiler:  在terminal 打

xcode-select --install

2.下載gnuplot source code

3.解壓縮

cd ~/

cd Download/

tar -xvzf gnuplot-x.x.x.tar

4.開使安裝 gnuplot

cd gnuplot-x.x.x

./configure --prefix=/usr/local CPPFLAGS='-arch i386' LDFLAGS='-arch i386'

make

sudo make install

5.測試是否安裝成功

gnuplot simple.dem

有畫出圖便成功!

 

arrow
arrow
    全站熱搜
    創作者介紹

    quantum2nd 發表在 痞客邦 留言(0) 人氣()