To fix plotting in Octave.app in latest Snow Leopard (10.6.6 at the
moment of writing) change /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot
as follows:
@@ -31,7 +31,7 @@ ROOT=`(cd "${BASE}" 2>/dev/null && pwd)`
# startup the Gnuplot program.
GNUPLOT_HOME="${ROOT}"
PATH="${ROOT}/bin:${PATH}"
-DYLD_LIBRARY_PATH="${ROOT}/lib:${DYLD_LIBRARY_PATH}"
+DYLD_LIBRARY_PATH="${ROOT}/lib"
DYLD_FRAMEWORK_PATH="${ROOT}/lib:${DYLD_FRAMEWORK_PATH}"