CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Problem with using gnuplot

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By hk318i
  • 1 Post By hk318i

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2016, 05:19
Default Problem with using gnuplot
  #1
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
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.
Attached Images
File Type: png 10.png (61.4 KB, 36 views)
omid20110 is offline   Reply With Quote

Old   June 27, 2016, 07:23
Default
  #2
Senior Member
 
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 17
hk318i is on a distinguished road
For some reason gnuplot did not load a default terminal. To check the available terminals run in gnuplot

Code:
set term
and it will show a list of all terminals. Just select one as;
Code:
set term terminalName
A common terminals which appear on screen, qt, wxt, x11

Bw,
Hassan Kassem
omid20110 likes this.
hk318i is offline   Reply With Quote

Old   June 29, 2016, 04:09
Default
  #3
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
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>
omid20110 is offline   Reply With Quote

Old   June 29, 2016, 05:16
Default
  #4
Senior Member
 
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 17
hk318i is on a distinguished road
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
Now gnuplot5 is available as well if you are interested.
omid20110 likes this.
__________________
@HIKassem | HassanKassem.me
hk318i is offline   Reply With Quote

Old   June 29, 2016, 07:26
Default
  #5
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
Quote:
Originally Posted by hk318i View Post
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
Now gnuplot5 is available as well if you are interested.
Thank you very much.
It solved my problem
omid20110 is offline   Reply With Quote

Reply

Tags
gnuplot


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 04:20.