help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error with plotting function


From: John Hayes
Subject: Re: Error with plotting function
Date: Sat, 21 Dec 2013 20:24:17 +0100

Hi Grace,

Someone else may be more helpful, but this seems to be a problem with gnuplot. It seems you probably cannot use it directly either? This seems to be because of an incompatibility between the installed gnuplot and freetype/fontconfig (which renders text). I would recommend confirming that your Gnuplot.app is up-to-date and works by itself first. 

Best,

John

Le 21 déc. 2013 à 19:26, Grace Copplestone a écrit :

Currently using - Mac OS X 10.6.8, Octave 3.4.0, XCode 4

I receive the following error when I use the plot function. Any help would be much appreciated. I'm taking the Coursera Machine Learning course and need the plot functions for the course exercises. Thank you in advance for your help.

octave-3.4.0:1> x=[1,2]
x =

   1   2

octave-3.4.0:2> y=[3,4]
y =

   3   4

octave-3.4.0:3> plot(x,y)
dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
  Referenced from: /usr/X11/lib/libfontconfig.1.dylib
  Reason: Incompatible library version: libfontconfig.1.dylib requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
  Referenced from: /usr/X11/lib/libfontconfig.1.dylib
  Reason: Incompatible library version: libfontconfig.1.dylib requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71: 44214 Trace/BPT trap          GNUTERM="${GNUTERM}" GNUPLOT_HOME="${GNUPLOT_HOME}" PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}" GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}" GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}" GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" "${ROOT}/bin/gnuplot-4.4.3" "$@"
/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71: 44218 Trace/BPT trap          GNUTERM="${GNUTERM}" GNUPLOT_HOME="${GNUPLOT_HOME}" PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}" GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}" GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}" GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" "${ROOT}/bin/gnuplot-4.4.3" "$@"
warning: broken pipe -- some output may be lost
warning: broken pipe -- some output may be lost
warning: broken pipe -- some output may be lost
warning: broken pipe -- some output may be lost
warning: broken pipe -- some output may be lost
warning: broken pipe -- some output may be lost
warning: broken pipe -- some output may be lost

I've tried googling some solutions, I've copied the output of a request within on solution below.
address@hidden { /usr/X11/lib } 
$ ls -l /usr/X11/lib/libfreetype.6.dylib
-rwxr-xr-x  1 root  wheel  1653792  6 Dec  2011 /usr/X11/lib/libfreetype.6.dylib


_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]