Plot command crashes Octave

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

sshah
I just installed octave 4.0.3 on OSX 10.11.5 (El Capitan) using homebrew. I followed the link on octave wiki.

Install was fine but the plot command does not work and crashes octave upon exit.  

>> octave --no-gui
Fontconfig error: Cannot load default config file
warning: could not match any font: *-normal-normal-10

...

Unknown or ambiguous terminal name 'aqua'
gnuplot> set terminal aqua enhanced title "Figure 1" size 560 420  font "*,6.66667" dashlength 1
                      ^
         line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list

WARNING: Plotting with an 'unknown' terminal.
No output will be generated. Please select a terminal with 'set terminal'.

>>exit

panic: Segmentation fault: 11 -- stopping myself...

Sunil
Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

sshah
The problem was fixed by -

>brew uninstall gnuplot
>brew uninstall fontconfig
>brew install fontconfig --universal
>brew install gnuplot --with-qt


Then in octave

>> graphics_toolkit('qt')
>> surfc(rand(20))

works without problems

-sunil
Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

bpabbott
Administrator
> On Jul 9, 2016, at 3:30 PM, SunilShah <[hidden email]> wrote:
>
> The problem was fixed by -
>
>> brew uninstall gnuplot
>> brew uninstall fontconfig
>> brew install fontconfig --universal
>> brew install gnuplot --with-qt
>
> Then in octave
>
>>> graphics_toolkit('qt')
>>> surfc(rand(20))
>
> works without problems
>
> -sunil

Thanks for the feedback. One clarifcation, the commend below selects the Qt OpenGL graphics toolkit (i.e. does not use gnuplot).

        graphics_toolkit (“qt”)

Some of the errors you reported were produced by gnuplot. Does the result below also work?

        graphics_toolkit gnuplot
        setenv GNUTERM qt
        close all
        plot (rand (3))

In any event, since the app-bundle you obtained from the wiki did not include “—universal” when installing fontconfig, it is likely this is the root of the problem.

Ben



_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

cssmith2
In reply to this post by bpabbott
So I finished the home-brew install, and now the plotting commands work! I am so new to this I can't pretend that I know what is going on, but it seems that running the install_octave.sh script from Xcode fixed it! By the way the first time I tried to run the script I got a bunch of errors for unknown commands. I think it was because all of the brew commands were ./brew... I deleted the ./ in front of all of the brew commands and it ran completely. -Chris Smith
Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

bpabbott
Administrator
> On Jul 9, 2016, at 8:12 PM, cssmith2 <[hidden email]> wrote:
>
> So I finished the home-brew install, and now the plotting commands work!  I
> am so new to this I can't pretend that I know what is going on, but it seems
> that running the install_octave.sh script from Xcode fixed it!  By the way
> the first time I tried to run the script I got a bunch of errors for unknown
> commands.  I think it was because all of the brew commands were *./*brew...
> I deleted the ./ in front of all of the brew commands and it ran
> completely.-Chris Smith

The install_octave.sh command should be run from the Terminal app.

If you changed “./brew” to “brew”, you may have created an app that cannot be copied to another computer.

When entered at the command prompt for the Terminal app, what does the following return?

        ls /Applications/Octave.app/Contents/Resources/usr/bin/*

Ben


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

cssmith2
It returns:
/Applications/Octave.app/Contents/Resources/usr/bin/GraphicsMagick++-config
/Applications/Octave.app/Contents/Resources/usr/bin/GraphicsMagick-config
/Applications/Octave.app/Contents/Resources/usr/bin/GraphicsMagickWand-config
/Applications/Octave.app/Contents/Resources/usr/bin/Magick++-config
/Applications/Octave.app/Contents/Resources/usr/bin/Magick-config
/Applications/Octave.app/Contents/Resources/usr/bin/MagickCore-config
/Applications/Octave.app/Contents/Resources/usr/bin/MagickWand-config
/Applications/Octave.app/Contents/Resources/usr/bin/Wand-config
/Applications/Octave.app/Contents/Resources/usr/bin/aclocal
/Applications/Octave.app/Contents/Resources/usr/bin/aclocal-1.15
/Applications/Octave.app/Contents/Resources/usr/bin/animate
/Applications/Octave.app/Contents/Resources/usr/bin/annotate
/Applications/Octave.app/Contents/Resources/usr/bin/autoconf
/Applications/Octave.app/Contents/Resources/usr/bin/autogen
/Applications/Octave.app/Contents/Resources/usr/bin/autoheader
/Applications/Octave.app/Contents/Resources/usr/bin/autom4te
/Applications/Octave.app/Contents/Resources/usr/bin/automake
/Applications/Octave.app/Contents/Resources/usr/bin/automake-1.15
/Applications/Octave.app/Contents/Resources/usr/bin/autoopts-config
/Applications/Octave.app/Contents/Resources/usr/bin/autopoint
/Applications/Octave.app/Contents/Resources/usr/bin/autoreconf
/Applications/Octave.app/Contents/Resources/usr/bin/autoscan
/Applications/Octave.app/Contents/Resources/usr/bin/autoupdate
/Applications/Octave.app/Contents/Resources/usr/bin/bdftogd
/Applications/Octave.app/Contents/Resources/usr/bin/bmp2tiff
/Applications/Octave.app/Contents/Resources/usr/bin/brew
/Applications/Octave.app/Contents/Resources/usr/bin/c++-6
/Applications/Octave.app/Contents/Resources/usr/bin/c_rehash
/Applications/Octave.app/Contents/Resources/usr/bin/cairo-sphinx
/Applications/Octave.app/Contents/Resources/usr/bin/cairo-trace
/Applications/Octave.app/Contents/Resources/usr/bin/ccmake
/Applications/Octave.app/Contents/Resources/usr/bin/ccmakedep
/Applications/Octave.app/Contents/Resources/usr/bin/cjpeg
/Applications/Octave.app/Contents/Resources/usr/bin/cleanlinks
/Applications/Octave.app/Contents/Resources/usr/bin/cmake
/Applications/Octave.app/Contents/Resources/usr/bin/cmakexbuild
/Applications/Octave.app/Contents/Resources/usr/bin/cmpfillin
/Applications/Octave.app/Contents/Resources/usr/bin/columns
/Applications/Octave.app/Contents/Resources/usr/bin/compare
/Applications/Octave.app/Contents/Resources/usr/bin/composite
/Applications/Octave.app/Contents/Resources/usr/bin/conjure
/Applications/Octave.app/Contents/Resources/usr/bin/convert
/Applications/Octave.app/Contents/Resources/usr/bin/cpack
/Applications/Octave.app/Contents/Resources/usr/bin/cpp-6
/Applications/Octave.app/Contents/Resources/usr/bin/ctest
/Applications/Octave.app/Contents/Resources/usr/bin/cvs
/Applications/Octave.app/Contents/Resources/usr/bin/cvsbug
/Applications/Octave.app/Contents/Resources/usr/bin/cwebp
/Applications/Octave.app/Contents/Resources/usr/bin/derb
/Applications/Octave.app/Contents/Resources/usr/bin/display
/Applications/Octave.app/Contents/Resources/usr/bin/djpeg
/Applications/Octave.app/Contents/Resources/usr/bin/double
/Applications/Octave.app/Contents/Resources/usr/bin/dvipdf
/Applications/Octave.app/Contents/Resources/usr/bin/dwebp
/Applications/Octave.app/Contents/Resources/usr/bin/envsubst
/Applications/Octave.app/Contents/Resources/usr/bin/eps2eps
/Applications/Octave.app/Contents/Resources/usr/bin/epstool
/Applications/Octave.app/Contents/Resources/usr/bin/extresso
/Applications/Octave.app/Contents/Resources/usr/bin/fax2ps
/Applications/Octave.app/Contents/Resources/usr/bin/fax2tiff
/Applications/Octave.app/Contents/Resources/usr/bin/fc-cache
/Applications/Octave.app/Contents/Resources/usr/bin/fc-cat
/Applications/Octave.app/Contents/Resources/usr/bin/fc-list
/Applications/Octave.app/Contents/Resources/usr/bin/fc-match
/Applications/Octave.app/Contents/Resources/usr/bin/fc-pattern
/Applications/Octave.app/Contents/Resources/usr/bin/fc-query
/Applications/Octave.app/Contents/Resources/usr/bin/fc-scan
/Applications/Octave.app/Contents/Resources/usr/bin/fc-validate
/Applications/Octave.app/Contents/Resources/usr/bin/fftw-wisdom
/Applications/Octave.app/Contents/Resources/usr/bin/fftw-wisdom-to-conf
/Applications/Octave.app/Contents/Resources/usr/bin/fftwf-wisdom
/Applications/Octave.app/Contents/Resources/usr/bin/fftwl-wisdom
/Applications/Octave.app/Contents/Resources/usr/bin/fig2dev
/Applications/Octave.app/Contents/Resources/usr/bin/fig2ps2tex
/Applications/Octave.app/Contents/Resources/usr/bin/fig2ps2tex.sh
/Applications/Octave.app/Contents/Resources/usr/bin/flac
/Applications/Octave.app/Contents/Resources/usr/bin/fltk-config
/Applications/Octave.app/Contents/Resources/usr/bin/fluid
/Applications/Octave.app/Contents/Resources/usr/bin/font2c
/Applications/Octave.app/Contents/Resources/usr/bin/freetype-config
/Applications/Octave.app/Contents/Resources/usr/bin/g++-6
/Applications/Octave.app/Contents/Resources/usr/bin/g-ir-annotation-tool
/Applications/Octave.app/Contents/Resources/usr/bin/g-ir-compiler
/Applications/Octave.app/Contents/Resources/usr/bin/g-ir-generate
/Applications/Octave.app/Contents/Resources/usr/bin/g-ir-scanner
/Applications/Octave.app/Contents/Resources/usr/bin/gapplication
/Applications/Octave.app/Contents/Resources/usr/bin/gcc-6
/Applications/Octave.app/Contents/Resources/usr/bin/gcc-ar-6
/Applications/Octave.app/Contents/Resources/usr/bin/gcc-nm-6
/Applications/Octave.app/Contents/Resources/usr/bin/gcc-ranlib-6
/Applications/Octave.app/Contents/Resources/usr/bin/gcov-6
/Applications/Octave.app/Contents/Resources/usr/bin/gcov-tool-6
/Applications/Octave.app/Contents/Resources/usr/bin/gd2copypal
/Applications/Octave.app/Contents/Resources/usr/bin/gd2togif
/Applications/Octave.app/Contents/Resources/usr/bin/gd2topng
/Applications/Octave.app/Contents/Resources/usr/bin/gdbus
/Applications/Octave.app/Contents/Resources/usr/bin/gdbus-codegen
/Applications/Octave.app/Contents/Resources/usr/bin/gdcmpgif
/Applications/Octave.app/Contents/Resources/usr/bin/gdlib-config
/Applications/Octave.app/Contents/Resources/usr/bin/gdparttopng
/Applications/Octave.app/Contents/Resources/usr/bin/gdtopng
/Applications/Octave.app/Contents/Resources/usr/bin/genbrk
/Applications/Octave.app/Contents/Resources/usr/bin/gencfu
/Applications/Octave.app/Contents/Resources/usr/bin/gencnval
/Applications/Octave.app/Contents/Resources/usr/bin/gendict
/Applications/Octave.app/Contents/Resources/usr/bin/genrb
/Applications/Octave.app/Contents/Resources/usr/bin/genresscript
/Applications/Octave.app/Contents/Resources/usr/bin/getdefs
/Applications/Octave.app/Contents/Resources/usr/bin/gettext
/Applications/Octave.app/Contents/Resources/usr/bin/gettext.sh
/Applications/Octave.app/Contents/Resources/usr/bin/gettextize
/Applications/Octave.app/Contents/Resources/usr/bin/gfortran
/Applications/Octave.app/Contents/Resources/usr/bin/gfortran-6
/Applications/Octave.app/Contents/Resources/usr/bin/gif2h5
/Applications/Octave.app/Contents/Resources/usr/bin/gif2tiff
/Applications/Octave.app/Contents/Resources/usr/bin/giftogd2
/Applications/Octave.app/Contents/Resources/usr/bin/gio-querymodules
/Applications/Octave.app/Contents/Resources/usr/bin/glib-compile-resources
/Applications/Octave.app/Contents/Resources/usr/bin/glib-compile-schemas
/Applications/Octave.app/Contents/Resources/usr/bin/glib-genmarshal
/Applications/Octave.app/Contents/Resources/usr/bin/glib-gettextize
/Applications/Octave.app/Contents/Resources/usr/bin/glib-mkenums
/Applications/Octave.app/Contents/Resources/usr/bin/glibtool
/Applications/Octave.app/Contents/Resources/usr/bin/glibtoolize
/Applications/Octave.app/Contents/Resources/usr/bin/glpsol
/Applications/Octave.app/Contents/Resources/usr/bin/gm
/Applications/Octave.app/Contents/Resources/usr/bin/gnuplot
/Applications/Octave.app/Contents/Resources/usr/bin/gobject-query
/Applications/Octave.app/Contents/Resources/usr/bin/gpmetis
/Applications/Octave.app/Contents/Resources/usr/bin/graph
/Applications/Octave.app/Contents/Resources/usr/bin/graphchk
/Applications/Octave.app/Contents/Resources/usr/bin/gresource
/Applications/Octave.app/Contents/Resources/usr/bin/gs
/Applications/Octave.app/Contents/Resources/usr/bin/gsbj
/Applications/Octave.app/Contents/Resources/usr/bin/gsc
/Applications/Octave.app/Contents/Resources/usr/bin/gsdj
/Applications/Octave.app/Contents/Resources/usr/bin/gsdj500
/Applications/Octave.app/Contents/Resources/usr/bin/gsed
/Applications/Octave.app/Contents/Resources/usr/bin/gsettings
/Applications/Octave.app/Contents/Resources/usr/bin/gslj
/Applications/Octave.app/Contents/Resources/usr/bin/gslp
/Applications/Octave.app/Contents/Resources/usr/bin/gsnd
/Applications/Octave.app/Contents/Resources/usr/bin/gsx
/Applications/Octave.app/Contents/Resources/usr/bin/gtester
/Applications/Octave.app/Contents/Resources/usr/bin/gtester-report
/Applications/Octave.app/Contents/Resources/usr/bin/guild
/Applications/Octave.app/Contents/Resources/usr/bin/guile
/Applications/Octave.app/Contents/Resources/usr/bin/guile-config
/Applications/Octave.app/Contents/Resources/usr/bin/guile-snarf
/Applications/Octave.app/Contents/Resources/usr/bin/guile-tools
/Applications/Octave.app/Contents/Resources/usr/bin/h52gif
/Applications/Octave.app/Contents/Resources/usr/bin/h5c++
/Applications/Octave.app/Contents/Resources/usr/bin/h5cc
/Applications/Octave.app/Contents/Resources/usr/bin/h5copy
/Applications/Octave.app/Contents/Resources/usr/bin/h5debug
/Applications/Octave.app/Contents/Resources/usr/bin/h5diff
/Applications/Octave.app/Contents/Resources/usr/bin/h5dump
/Applications/Octave.app/Contents/Resources/usr/bin/h5import
/Applications/Octave.app/Contents/Resources/usr/bin/h5jam
/Applications/Octave.app/Contents/Resources/usr/bin/h5ls
/Applications/Octave.app/Contents/Resources/usr/bin/h5mkgrp
/Applications/Octave.app/Contents/Resources/usr/bin/h5perf_serial
/Applications/Octave.app/Contents/Resources/usr/bin/h5redeploy
/Applications/Octave.app/Contents/Resources/usr/bin/h5repack
/Applications/Octave.app/Contents/Resources/usr/bin/h5repart
/Applications/Octave.app/Contents/Resources/usr/bin/h5stat
/Applications/Octave.app/Contents/Resources/usr/bin/h5unjam
/Applications/Octave.app/Contents/Resources/usr/bin/hb-ot-shape-closure
/Applications/Octave.app/Contents/Resources/usr/bin/hb-shape
/Applications/Octave.app/Contents/Resources/usr/bin/hb-view
/Applications/Octave.app/Contents/Resources/usr/bin/hersheydemo
/Applications/Octave.app/Contents/Resources/usr/bin/icotool
/Applications/Octave.app/Contents/Resources/usr/bin/icu-config
/Applications/Octave.app/Contents/Resources/usr/bin/icuinfo
/Applications/Octave.app/Contents/Resources/usr/bin/identify
/Applications/Octave.app/Contents/Resources/usr/bin/ifnames
/Applications/Octave.app/Contents/Resources/usr/bin/imake
/Applications/Octave.app/Contents/Resources/usr/bin/import
/Applications/Octave.app/Contents/Resources/usr/bin/info
/Applications/Octave.app/Contents/Resources/usr/bin/install-info
/Applications/Octave.app/Contents/Resources/usr/bin/jpegtran
/Applications/Octave.app/Contents/Resources/usr/bin/jpgicc
/Applications/Octave.app/Contents/Resources/usr/bin/lconvert
/Applications/Octave.app/Contents/Resources/usr/bin/libpng-config
/Applications/Octave.app/Contents/Resources/usr/bin/libpng16-config
/Applications/Octave.app/Contents/Resources/usr/bin/linkicc
/Applications/Octave.app/Contents/Resources/usr/bin/lprsetup.sh
/Applications/Octave.app/Contents/Resources/usr/bin/lrelease
/Applications/Octave.app/Contents/Resources/usr/bin/lua
/Applications/Octave.app/Contents/Resources/usr/bin/lua-5.2
/Applications/Octave.app/Contents/Resources/usr/bin/lua5.2
/Applications/Octave.app/Contents/Resources/usr/bin/luac
/Applications/Octave.app/Contents/Resources/usr/bin/luac-5.2
/Applications/Octave.app/Contents/Resources/usr/bin/luac5.2
/Applications/Octave.app/Contents/Resources/usr/bin/luarocks
/Applications/Octave.app/Contents/Resources/usr/bin/luarocks-5.2
/Applications/Octave.app/Contents/Resources/usr/bin/luarocks-admin
/Applications/Octave.app/Contents/Resources/usr/bin/luarocks-admin-5.2
/Applications/Octave.app/Contents/Resources/usr/bin/lupdate
/Applications/Octave.app/Contents/Resources/usr/bin/lzcat
/Applications/Octave.app/Contents/Resources/usr/bin/lzcmp
/Applications/Octave.app/Contents/Resources/usr/bin/lzdiff
/Applications/Octave.app/Contents/Resources/usr/bin/lzegrep
/Applications/Octave.app/Contents/Resources/usr/bin/lzfgrep
/Applications/Octave.app/Contents/Resources/usr/bin/lzgrep
/Applications/Octave.app/Contents/Resources/usr/bin/lzless
/Applications/Octave.app/Contents/Resources/usr/bin/lzma
/Applications/Octave.app/Contents/Resources/usr/bin/lzmadec
/Applications/Octave.app/Contents/Resources/usr/bin/lzmainfo
/Applications/Octave.app/Contents/Resources/usr/bin/lzmore
/Applications/Octave.app/Contents/Resources/usr/bin/m2gmetis
/Applications/Octave.app/Contents/Resources/usr/bin/macdeployqt
/Applications/Octave.app/Contents/Resources/usr/bin/makeconv
/Applications/Octave.app/Contents/Resources/usr/bin/makedepend
/Applications/Octave.app/Contents/Resources/usr/bin/makeg
/Applications/Octave.app/Contents/Resources/usr/bin/makeinfo
/Applications/Octave.app/Contents/Resources/usr/bin/mergelib
/Applications/Octave.app/Contents/Resources/usr/bin/metaflac
/Applications/Octave.app/Contents/Resources/usr/bin/mkdirhier
/Applications/Octave.app/Contents/Resources/usr/bin/mkhtmlindex
/Applications/Octave.app/Contents/Resources/usr/bin/mkoctfile
/Applications/Octave.app/Contents/Resources/usr/bin/mkoctfile-4.0.3
/Applications/Octave.app/Contents/Resources/usr/bin/moc
/Applications/Octave.app/Contents/Resources/usr/bin/mogrify
/Applications/Octave.app/Contents/Resources/usr/bin/montage
/Applications/Octave.app/Contents/Resources/usr/bin/mpmetis
/Applications/Octave.app/Contents/Resources/usr/bin/msgattrib
/Applications/Octave.app/Contents/Resources/usr/bin/msgcat
/Applications/Octave.app/Contents/Resources/usr/bin/msgcmp
/Applications/Octave.app/Contents/Resources/usr/bin/msgcomm
/Applications/Octave.app/Contents/Resources/usr/bin/msgconv
/Applications/Octave.app/Contents/Resources/usr/bin/msgen
/Applications/Octave.app/Contents/Resources/usr/bin/msgexec
/Applications/Octave.app/Contents/Resources/usr/bin/msgfilter
/Applications/Octave.app/Contents/Resources/usr/bin/msgfmt
/Applications/Octave.app/Contents/Resources/usr/bin/msggrep
/Applications/Octave.app/Contents/Resources/usr/bin/msginit
/Applications/Octave.app/Contents/Resources/usr/bin/msgmerge
/Applications/Octave.app/Contents/Resources/usr/bin/msgunfmt
/Applications/Octave.app/Contents/Resources/usr/bin/msguniq
/Applications/Octave.app/Contents/Resources/usr/bin/ndmetis
/Applications/Octave.app/Contents/Resources/usr/bin/ngettext
/Applications/Octave.app/Contents/Resources/usr/bin/octave
/Applications/Octave.app/Contents/Resources/usr/bin/octave-4.0.3
/Applications/Octave.app/Contents/Resources/usr/bin/octave-cli
/Applications/Octave.app/Contents/Resources/usr/bin/octave-cli-4.0.3
/Applications/Octave.app/Contents/Resources/usr/bin/octave-config
/Applications/Octave.app/Contents/Resources/usr/bin/octave-config-4.0.3
/Applications/Octave.app/Contents/Resources/usr/bin/ode
/Applications/Octave.app/Contents/Resources/usr/bin/openssl
/Applications/Octave.app/Contents/Resources/usr/bin/pal2rgb
/Applications/Octave.app/Contents/Resources/usr/bin/pango-view
/Applications/Octave.app/Contents/Resources/usr/bin/pcre-config
/Applications/Octave.app/Contents/Resources/usr/bin/pcregrep
/Applications/Octave.app/Contents/Resources/usr/bin/pcretest
/Applications/Octave.app/Contents/Resources/usr/bin/pdf2dsc
/Applications/Octave.app/Contents/Resources/usr/bin/pdf2ps
/Applications/Octave.app/Contents/Resources/usr/bin/pdftexi2dvi
/Applications/Octave.app/Contents/Resources/usr/bin/pf2afm
/Applications/Octave.app/Contents/Resources/usr/bin/pfbtopfa
/Applications/Octave.app/Contents/Resources/usr/bin/pic2plot
/Applications/Octave.app/Contents/Resources/usr/bin/pic2tpic
/Applications/Octave.app/Contents/Resources/usr/bin/pkg-config
/Applications/Octave.app/Contents/Resources/usr/bin/pkgdata
/Applications/Octave.app/Contents/Resources/usr/bin/plot
/Applications/Octave.app/Contents/Resources/usr/bin/plotfont
/Applications/Octave.app/Contents/Resources/usr/bin/png-fix-itxt
/Applications/Octave.app/Contents/Resources/usr/bin/pngfix
/Applications/Octave.app/Contents/Resources/usr/bin/pngtogd
/Applications/Octave.app/Contents/Resources/usr/bin/pngtogd2
/Applications/Octave.app/Contents/Resources/usr/bin/pod2texi
/Applications/Octave.app/Contents/Resources/usr/bin/pphs
/Applications/Octave.app/Contents/Resources/usr/bin/ppm2tiff
/Applications/Octave.app/Contents/Resources/usr/bin/printafm
/Applications/Octave.app/Contents/Resources/usr/bin/ps2ascii
/Applications/Octave.app/Contents/Resources/usr/bin/ps2epsi
/Applications/Octave.app/Contents/Resources/usr/bin/ps2pdf
/Applications/Octave.app/Contents/Resources/usr/bin/ps2pdf12
/Applications/Octave.app/Contents/Resources/usr/bin/ps2pdf13
/Applications/Octave.app/Contents/Resources/usr/bin/ps2pdf14
/Applications/Octave.app/Contents/Resources/usr/bin/ps2pdfwr
/Applications/Octave.app/Contents/Resources/usr/bin/ps2ps
/Applications/Octave.app/Contents/Resources/usr/bin/ps2ps2
/Applications/Octave.app/Contents/Resources/usr/bin/psicc
/Applications/Octave.app/Contents/Resources/usr/bin/pstoedit
/Applications/Octave.app/Contents/Resources/usr/bin/qcollectiongenerator
/Applications/Octave.app/Contents/Resources/usr/bin/qconvex
/Applications/Octave.app/Contents/Resources/usr/bin/qdelaunay
/Applications/Octave.app/Contents/Resources/usr/bin/qdoc3
/Applications/Octave.app/Contents/Resources/usr/bin/qhalf
/Applications/Octave.app/Contents/Resources/usr/bin/qhelpgenerator
/Applications/Octave.app/Contents/Resources/usr/bin/qhull
/Applications/Octave.app/Contents/Resources/usr/bin/qmake
/Applications/Octave.app/Contents/Resources/usr/bin/qmlplugindump
/Applications/Octave.app/Contents/Resources/usr/bin/qt3to4
/Applications/Octave.app/Contents/Resources/usr/bin/qvoronoi
/Applications/Octave.app/Contents/Resources/usr/bin/ras2tiff
/Applications/Octave.app/Contents/Resources/usr/bin/raw2tiff
/Applications/Octave.app/Contents/Resources/usr/bin/rbox
/Applications/Octave.app/Contents/Resources/usr/bin/rcc
/Applications/Octave.app/Contents/Resources/usr/bin/rcs2log
/Applications/Octave.app/Contents/Resources/usr/bin/rdjpgcom
/Applications/Octave.app/Contents/Resources/usr/bin/recode-sr-latin
/Applications/Octave.app/Contents/Resources/usr/bin/revpath
/Applications/Octave.app/Contents/Resources/usr/bin/rgb2ycbcr
/Applications/Octave.app/Contents/Resources/usr/bin/sip
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-cmp
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-concat
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-convert
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-deinterleave
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-info
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-interleave
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-metadata-get
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-metadata-set
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-play
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-regtest
/Applications/Octave.app/Contents/Resources/usr/bin/sndfile-salvage
/Applications/Octave.app/Contents/Resources/usr/bin/sphinx-apidoc
/Applications/Octave.app/Contents/Resources/usr/bin/sphinx-autogen
/Applications/Octave.app/Contents/Resources/usr/bin/sphinx-build
/Applications/Octave.app/Contents/Resources/usr/bin/sphinx-quickstart
/Applications/Octave.app/Contents/Resources/usr/bin/spline
/Applications/Octave.app/Contents/Resources/usr/bin/stream
/Applications/Octave.app/Contents/Resources/usr/bin/tek2plot
/Applications/Octave.app/Contents/Resources/usr/bin/texi2any
/Applications/Octave.app/Contents/Resources/usr/bin/texi2dvi
/Applications/Octave.app/Contents/Resources/usr/bin/texi2pdf
/Applications/Octave.app/Contents/Resources/usr/bin/texindex
/Applications/Octave.app/Contents/Resources/usr/bin/thumbnail
/Applications/Octave.app/Contents/Resources/usr/bin/tiff2bw
/Applications/Octave.app/Contents/Resources/usr/bin/tiff2pdf
/Applications/Octave.app/Contents/Resources/usr/bin/tiff2ps
/Applications/Octave.app/Contents/Resources/usr/bin/tiff2rgba
/Applications/Octave.app/Contents/Resources/usr/bin/tiffcmp
/Applications/Octave.app/Contents/Resources/usr/bin/tiffcp
/Applications/Octave.app/Contents/Resources/usr/bin/tiffcrop
/Applications/Octave.app/Contents/Resources/usr/bin/tiffdither
/Applications/Octave.app/Contents/Resources/usr/bin/tiffdump
/Applications/Octave.app/Contents/Resources/usr/bin/tiffinfo
/Applications/Octave.app/Contents/Resources/usr/bin/tiffmedian
/Applications/Octave.app/Contents/Resources/usr/bin/tiffset
/Applications/Octave.app/Contents/Resources/usr/bin/tiffsplit
/Applications/Octave.app/Contents/Resources/usr/bin/tificc
/Applications/Octave.app/Contents/Resources/usr/bin/transfig
/Applications/Octave.app/Contents/Resources/usr/bin/transicc
/Applications/Octave.app/Contents/Resources/usr/bin/trash
/Applications/Octave.app/Contents/Resources/usr/bin/uconv
/Applications/Octave.app/Contents/Resources/usr/bin/uic
/Applications/Octave.app/Contents/Resources/usr/bin/unix-lpr.sh
/Applications/Octave.app/Contents/Resources/usr/bin/unlzma
/Applications/Octave.app/Contents/Resources/usr/bin/unxz
/Applications/Octave.app/Contents/Resources/usr/bin/webpmux
/Applications/Octave.app/Contents/Resources/usr/bin/webpng
/Applications/Octave.app/Contents/Resources/usr/bin/wftopfa
/Applications/Octave.app/Contents/Resources/usr/bin/wrestool
/Applications/Octave.app/Contents/Resources/usr/bin/wrjpgcom
/Applications/Octave.app/Contents/Resources/usr/bin/x86_64-apple-darwin15.5.0-c++-6
/Applications/Octave.app/Contents/Resources/usr/bin/x86_64-apple-darwin15.5.0-g++-6
/Applications/Octave.app/Contents/Resources/usr/bin/x86_64-apple-darwin15.5.0-gcc-6
/Applications/Octave.app/Contents/Resources/usr/bin/x86_64-apple-darwin15.5.0-gcc-6.1.0
/Applications/Octave.app/Contents/Resources/usr/bin/x86_64-apple-darwin15.5.0-gcc-ar-6
/Applications/Octave.app/Contents/Resources/usr/bin/x86_64-apple-darwin15.5.0-gcc-nm-6
/Applications/Octave.app/Contents/Resources/usr/bin/x86_64-apple-darwin15.5.0-gcc-ranlib-6
/Applications/Octave.app/Contents/Resources/usr/bin/x86_64-apple-darwin15.5.0-gfortran-6
/Applications/Octave.app/Contents/Resources/usr/bin/xgettext
/Applications/Octave.app/Contents/Resources/usr/bin/xmkmf
/Applications/Octave.app/Contents/Resources/usr/bin/xml2ag
/Applications/Octave.app/Contents/Resources/usr/bin/xmlpatterns
/Applications/Octave.app/Contents/Resources/usr/bin/xmlpatternsvalidator
/Applications/Octave.app/Contents/Resources/usr/bin/xz
/Applications/Octave.app/Contents/Resources/usr/bin/xzcat
/Applications/Octave.app/Contents/Resources/usr/bin/xzcmp
/Applications/Octave.app/Contents/Resources/usr/bin/xzdec
/Applications/Octave.app/Contents/Resources/usr/bin/xzdiff
/Applications/Octave.app/Contents/Resources/usr/bin/xzegrep
/Applications/Octave.app/Contents/Resources/usr/bin/xzfgrep
/Applications/Octave.app/Contents/Resources/usr/bin/xzgrep
/Applications/Octave.app/Contents/Resources/usr/bin/xzless
/Applications/Octave.app/Contents/Resources/usr/bin/xzmore
On Jul 9, 2016, at 8:20 PM, bpabbott [via Octave] <[hidden email]> wrote:

        ls /Applications/Octave.app/Contents/Resources/usr/bin/* 

Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

bpabbott
Administrator
> On Jul 9, 2016, at 8:26 PM, cssmith2 <[hidden email]> wrote:
>
> It returns:
>
> /Applications/Octave.app/Contents/Resources/usr/bin/brew

The brew command is where is should be, so I don’t expect removing the “./“ from “./brew” was needed. However, if you did that, then the install would not have been in the app bundle.

What does the “which fink” return when entered in the Terminal.

Ben


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

sshah
In reply to this post by bpabbott
Ben,

I knew I was using qt graphics_toolkit. 

gnuplot toolkit also worked.  qt seemed faster and cleaner looking.

Sunil

Sunil

On Sat, Jul 9, 2016 at 2:52 PM, Ben Abbott <[hidden email]> wrote:
> On Jul 9, 2016, at 3:30 PM, SunilShah <[hidden email]> wrote:
>
> The problem was fixed by -
>
>> brew uninstall gnuplot
>> brew uninstall fontconfig
>> brew install fontconfig --universal
>> brew install gnuplot --with-qt
>
> Then in octave
>
>>> graphics_toolkit('qt')
>>> surfc(rand(20))
>
> works without problems
>
> -sunil

Thanks for the feedback. One clarifcation, the commend below selects the Qt OpenGL graphics toolkit (i.e. does not use gnuplot).

        graphics_toolkit (“qt”)

Some of the errors you reported were produced by gnuplot. Does the result below also work?

        graphics_toolkit gnuplot
        setenv GNUTERM qt
        close all
        plot (rand (3))

In any event, since the app-bundle you obtained from the wiki did not include “—universal” when installing fontconfig, it is likely this is the root of the problem.

Ben




_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Plot command crashes Octave

bpabbott
Administrator
In reply to this post by cssmith2
> On Jul 9, 2016, at 20:12, cssmith2 <[hidden email]> wrote:
>
> So I finished the home-brew install, and now the plotting commands work!  I
> am so new to this I can't pretend that I know what is going on, but it seems
> that running the install_octave.sh script from Xcode fixed it!  By the way
> the first time I tried to run the script I got a bunch of errors for unknown
> commands.  I think it was because all of the brew commands were *./*brew...
> I deleted the ./ in front of all of the brew commands and it ran
> completely.-Chris Smith

Chris, after more thought it occurred to me that you encountered a bug. It's been fixed.

https://github.com/schoeps/octave_installer/commit/f553f005e14b02681660e024681fad0316514eb8

If you use the updated script, begin by moving Octave.app in /Applications to the trash, and then run the script.

Thanks for the feedback. A few critical bugs have recently been fixed. The app-bundle on sourceforge will eventually be updated, but for now running the script is expected to give the most reliable result.

Ben
_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
12