By default, installing gnuplot on Mac OS always leaves one with a suboptimal set of terminal types. In particular, png and pdf are missing. I’ve switched from Macports to Homebrew, and with Homebrew, fixing this is as simple as installing pdflib first.
$ brew install pdflib-lite
$ brew install gnuplot
With that, you should have pretty plots available.