Octava no trama


Cuando intento trazar un gráfico en GNU Octave, e intento usar plot, me da la siguiente salida

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

Estoy usando Mac OS X 10.9.2. He intentado usar

octave:79> setenv("GNUTERM","X11")

Pero sigo teniendo el mismo error.

 48
Author: Stephan Kolassa, 2014-04-06

8 answers

setenv("GNUTERM","qt") en el símbolo del sistema de octava, debe resolver el problema.

 211
Author: Cheng Long,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-02-19 05:47:23

Creo que su problema proviene del uso de la CLI.

A partir del 2 de enero de 2014. Si está utilizando OS / X 10.9 (Maverics), entonces puede optar por usar la interfaz gráfica integrada del paquete binario descargando Octave 3.8.0 .dmg . Use Octave-gui no Octave-cli, o de lo contrario inicie la GUI desde la CLI.

Una nota sobre la gui de La página de inicio de Octave

Pero debido a que no está tan pulido como nos gustaría, hemos decidido esperar hasta la 4.0.x suelte la serie antes de hacer que la GUI sea la interfaz predeterminada (hasta entonces, puede usar la opción force force-gui para iniciar la GUI).

 8
Author: waTeim,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-04-07 01:02:22

Lo siguiente funcionó para mí

  1. Desinstalar cualquier gnuplot existente en su OSX

    brew uninstall gnuplot

  2. Instalar gnuplot con X o X11

    brew install gnuplot --with-x

  3. Finalmente, establezca el GNUTERM en X11

    setenv("GNUTERM","X11")

 6
Author: Desta Haileselassie Hagos,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2015-08-12 11:54:59

Y si necesita Aqua terminal en lugar de X11 - esto podría ayudar:

brew uninstall --force gnuplot

brew install gnuplot --with-aquaterm --with-qt4

No es necesario agregar setenv("GNUTERM","X11") o agregar GNUTERM env.var a archivo octaverc.

 4
Author: Anthony Akentiev,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-07-08 11:38:36

Tengo este problema también y resuelto mediante la instalación de un Aquaterm para mac como se menciona aquí.

P. S. Si recibe advertencias como "warning: could not match any font: *-normal-normal-10" como hice yo, intente comprobar su /usr/local/etc/fonts/fonts. conf

 1
Author: Leon.Z,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-04-14 02:15:05

Para instalarlo sin aquaterm:

brew cask install xquartz
brew install gnuplot --with-x
brew install octave

vim ~/.octaverc
setenv("GNUTERM", "X11")
graphics_toolkit("gnuplot");
 1
Author: laktak,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-05-09 17:30:30

Descargue e instale Aquaterm.

sudo wget https://gist.githubusercontent.com/tuvistavie/8466870/raw/9064b4b3dfb3644950b6f5745056f54f8d6e56c6/gnuplot.rb -O /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnuplot.rb

brew uninstall gnuplot
brew update && brew upgrade
brew tap homebrew/science
brew info gnuplot

brew reinstall gnuplot --aquaterm --qt --test

Funcionó para mí ref

 0
Author: pavan,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-10-24 18:20:23

Tengo el mismo problema cuando uso Octave-cli, y simplemente evito esto usando "Octave-gui".

 -1
Author: liamlee,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-01-13 02:24:40