How to install gnuplot in Mac OS X lion

I just bought a macbook pro recently. The first thing that I need is to setup the latex environment to write. The tex installation is not hard to achieve, you can just search “mac os latex installation” in google, you will find the dmg file to install it. The problem is I need gnuplot to draw charts, but there is no mac os binary for the latest version. So i tried to compile it my self. It is not hard but need a little trick.

First, download the latest gnuplot source from here: http://sourceforge.net/projects/gnuplot/files/gnuplot/

Continue reading