|
[Sponsors] |
June 25, 2016, 06:19 |
Problem with using gnuplot
|
#1 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Hello everybody
I solved an example and now I am trying to use gnuplot but there is an error "Terminal type set to 'unknown'" I don't know anything about this type of error, can anyone help me with this? I have attached the screen shot of this error. |
|
June 27, 2016, 08:23 |
|
#2 |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 18 |
For some reason gnuplot did not load a default terminal. To check the available terminals run in gnuplot
Code:
set term Code:
set term terminalName Bw, Hassan Kassem |
|
June 29, 2016, 05:09 |
|
#3 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Thanks for your help
I run set term and it showed the available terminals, I think the terminals you mentioned doesn't exist!!! Can you take a look at this list and tell me what should I do? 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 Press return for more: 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) 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 Press return for more: unknown Unknown terminal type - not a plotting device vttek VT-like tek40xx terminal emulator xterm Xterm Tektronix 4014 Mode gnuplot> |
|
June 29, 2016, 06:16 |
|
#4 |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 18 |
That means some terminals are missing from your installations.
- Case1 If you compiled gnuplot from source, it means that your systems does have some of the essential libraries required for these terminals. Or maybe you missed a flag when you configured it. - Case2 If you installed directly from ubuntu repository, it means some packages are missing. Try Code:
sudo apt-get install gnuplot-x11 sudo apt-get install gnuplot-qt |
|
June 29, 2016, 08:26 |
|
#5 | |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Quote:
It solved my problem |
||
Tags |
gnuplot |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |