Configure X11 in Octave

When I plotting my first figure with octave yesterday, an error occurred and said:

gnuplot> set terminal aqua enhanced title "*********"                 
line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list

I searched on google and found this can be solved by make all gnuplot invocations to output to X11. This can be done by any of these two ways:

1. add this in the code before plotting anything:

setenv(“GNUTERM”,”X11″)

 

2. Or just add the above line into the octaverc file, which located at:

/usr/local/share/octave/site/m/startup

Done.

🙂

This entry was posted in Something else and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*
*