[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41822] No figures obtained by the cli
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #41822] No figures obtained by the cli |
Date: |
Mon, 10 Mar 2014 12:59:50 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #1, bug #41822 (project octave):
In order to list available terminals, you need to run 'set terminal' from
inside a gnuplot session:
address@hidden:~$ cd /usr/local/octave/3.8.0/bin/
address@hidden:bin$ ./gnuplot
G N U P L O T
Version 4.6 patchlevel 4 last modified 2013-10-06
Build System: Darwin x86_64
Copyright (C) 1986-1993, 1998, 2004, 2007-2013
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
gnuplot> set terminal
Available terminal types:
cairolatex LaTeX picture environment using graphicx package and Cairo
backend
canvas HTML Canvas object
cgm Computer Graphics Metafile
context ConTeXt with MetaFun (for PDF documents)
corel EPS format for CorelDRAW
dumb ascii art for anything that prints text
dxf dxf-file for AutoCad (default size 120x80)
eepic EEPIC -- extended LaTeX picture environment
emf Enhanced Metafile format
emtex LaTeX picture environment with emTeX specials
epscairo eps terminal based on cairo
epslatex LaTeX picture environment using graphicx package
fig FIG graphics language for XFIG graphics editor
gif GIF images using libgd and TrueType fonts
gpic GPIC -- Produce graphs in groff using the gpic
preprocessor
hp2623A HP2623A and maybe others
hp2648 HP2648 and HP2647
hpgl HP7475 and relatives [number of pens] [eject]
imagen Imagen laser printer
jpeg JPEG images using libgd and TrueType fonts
latex LaTeX picture environment
lua Lua generic terminal driver
mf Metafont plotting standard
mif Frame maker MIF 3.00 format
mp MetaPost plotting standard
pcl5 HP Designjet 750C, HP Laserjet III/IV, etc. (many options)
pdfcairo pdf terminal based on cairo
png PNG images using libgd and TrueType fonts
pngcairo png terminal based on cairo
postscript PostScript graphics, including EPSF embedded files (*.eps)
pslatex LaTeX picture environment with PostScript specials
pstex plain TeX with PostScript specials
pstricks LaTeX picture environment with PSTricks macros
qms QMS/QUIC Laser printer (also Talaris 1200 and others)
qt Qt terminal
regis REGIS graphics language
svg W3C Scalable Vector Graphics driver
tek40xx Tektronix 4010 and others; most TEK emulators
tek410x Tektronix 4106, 4107, 4109 and 420X terminals
texdraw LaTeX texdraw environment
tgif TGIF X11 [mode] [x,y] [dashed] ["font" [fontsize]]
tikz TeX TikZ graphics macros via the lua script driver
tkcanvas Tk/Tcl canvas widget [perltk] [interactive]
tpic TPIC -- LaTeX picture environment with tpic specials
unknown Unknown terminal type - not a plotting device
vttek VT-like tek40xx terminal emulator
xterm Xterm Tektronix 4014 Mode
You can see that the only "on-screen" terminal seems to be qt (no x11, no wxt,
no aqua). In octave 'setenv ("GNUTERM", "qt")' works fine for me.
In octave, "gnuplot_binary" returns "gnuplot", thus the first gnuplot binary
in the path is run. I had to remove the other places where I have gnuplot
installed (/sw in my case) from my PATH in order to run the expected gnuplot
binary.
At least "gnuplot_binary" should point to the one shipped with the dmg
installer, and GNUTERM should be set to "qt" by default as it's the only
available terminal.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41822>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/