Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3271 > unrolled thread

Default terminal

Started byDieter Britz <dieterhansbritz@gmail.com>
First post2016-03-31 14:27 +0000
Last post2016-04-02 09:40 -0700
Articles 14 — 6 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Default terminal Dieter Britz <dieterhansbritz@gmail.com> - 2016-03-31 14:27 +0000
    Re: Default terminal Karl Ratzsch <mail.kfr@gmx.net> - 2016-03-31 17:31 +0200
      Re: Default terminal Dieter Britz <dieterhansbritz@gmail.com> - 2016-04-01 07:32 +0000
    Re: Default terminal Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-03-31 19:41 +0200
      Re: Default terminal Dieter Britz <dieterhansbritz@gmail.com> - 2016-04-01 07:28 +0000
        Re: Default terminal Dieter Britz <dieterhansbritz@gmail.com> - 2016-04-01 09:49 +0000
          Re: Default terminal Jörg Buchholz <bookwood4news@freenet.de> - 2016-04-01 20:24 +0200
            Re: Default terminal Dieter Britz <dieterhansbritz@gmail.com> - 2016-04-04 08:16 +0000
              Re: Default terminal Karl Ratzsch <mail.kfr@gmx.net> - 2016-04-04 11:07 +0200
                Re: Default terminal matsuoka.tatsuro.f.mbox@gmail.com - 2016-04-29 16:04 -0700
        Re: Default terminal Karl Ratzsch <mail.kfr@gmx.net> - 2016-04-01 15:04 +0200
      Re: Default terminal Dieter Britz <dieterhansbritz@gmail.com> - 2016-04-03 15:01 +0000
        Re: Default terminal Dieter Britz <dieterhansbritz@gmail.com> - 2016-04-04 08:18 +0000
    Default terminal Gavin Buxton <gavinbuxton@gmail.com> - 2016-04-02 09:40 -0700

#3271 — Default terminal

FromDieter Britz <dieterhansbritz@gmail.com>
Date2016-03-31 14:27 +0000
SubjectDefault terminal
Message-ID<ndjc4u$scb$1@dont-email.me>
At work, under Kubuntu, I installed gnuplot. Normally
I set the terminal to postscript enh eps, but today I
wanted to see a plot on the screen. But whatever the
default is, it did not give me a plot on the screen.
I tried several set term ... but nothing I tried works.

What is the likely terminal type that will give me a
plot on the screen? I suppose I should provide some
information on the terminal I have. All I know is that it
is an  Nvidia and a Samsung SyncMaster 192 V, if that helps.

-- 
Dieter Britz

[toc] | [next] | [standalone]


#3272

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2016-03-31 17:31 +0200
Message-ID<ndjfs0$58h$1@solani.org>
In reply to#3271
Am 31.03.2016 um 16:27 schrieb Dieter Britz:
> At work, under Kubuntu, I installed gnuplot. Normally
> I set the terminal to postscript enh eps, but today I
> wanted to see a plot on the screen. But whatever the
> default is, it did not give me a plot on the screen.
> I tried several set term ... but nothing I tried works.
> 
> What is the likely terminal type that will give me a
> plot on the screen? I suppose I should provide some
> information on the terminal I have. All I know is that it
> is an  Nvidia and a Samsung SyncMaster 192 V, if that helps.
> 

Well, what terminals did you try? And what errormessage was
displayed? What gnuplot version do you have? Stock gp5 build from
debian backports? Homebuilt?

For interactive terminals, qt should definitely work on Kubuntu, wxt
most likely, x11 too. Has nothin to do with your graphics card and
monitor, that was in the 1990ies. Ok, not even then.

 Karl

[toc] | [prev] | [next] | [standalone]


#3277

FromDieter Britz <dieterhansbritz@gmail.com>
Date2016-04-01 07:32 +0000
Message-ID<ndl85v$763$2@dont-email.me>
In reply to#3272
On Thu, 31 Mar 2016 17:31:10 +0200, Karl Ratzsch wrote:

> Am 31.03.2016 um 16:27 schrieb Dieter Britz:
>> At work, under Kubuntu, I installed gnuplot. Normally I set the
>> terminal to postscript enh eps, but today I wanted to see a plot on the
>> screen. But whatever the default is, it did not give me a plot on the
>> screen.
>> I tried several set term ... but nothing I tried works.
>> 
>> What is the likely terminal type that will give me a plot on the
>> screen? I suppose I should provide some information on the terminal I
>> have. All I know is that it is an  Nvidia and a Samsung SyncMaster 192
>> V, if that helps.
>> 
>> 
> Well, what terminals did you try? And what errormessage was displayed?
> What gnuplot version do you have? Stock gp5 build from debian backports?
> Homebuilt?
> 
> For interactive terminals, qt should definitely work on Kubuntu, wxt
> most likely, x11 too. Has nothin to do with your graphics card and
> monitor, that was in the 1990ies. Ok, not even then.
> 
>  Karl

I asked help, and got this list:

Subtopics available for terminal:
    cairolatex        canvas            cgm               context
    corel             dumb              dxf               eepic
    emf               emtex             epscairo          epslatex
    fig               gif               gpic              hp2623a
    hp2648            hpgl              imagen            jpeg
    latex             lua               mf                mif
    mp                pcl5              pdfcairo          png
    pngcairo          pop               postscript        pslatex
    pstex             pstricks          push              qms
    regis             svg               tek40xx           tek410x
    texdraw           tgif              tikz              tkcanvas
    tpic              vttek             xterm

x11 and wxt are not among them. As I wrote in another reply,
I seem to have an older version of gnuplot, which sets the
terminal type to "unknown". I'll have to find out how to get
an up to date version.

-- 
Dieter Britz

[toc] | [prev] | [next] | [standalone]


#3274

FromHans-Bernhard Bröker <HBBroeker@t-online.de>
Date2016-03-31 19:41 +0200
Message-ID<dm55p5F6jbiU1@mid.dfncis.de>
In reply to#3271
Am 31.03.2016 um 16:27 schrieb Dieter Britz:
> At work, under Kubuntu, I installed gnuplot.

"Installed" how, exactly.  Odds are you either picked the wrong binary 
package from Kubuntu's selection, or, if you built it from source 
yourself, you didn't have enough development packages installed to get 
any of the graphical terminals built into your own binary.

> I tried several set term ... but nothing I tried works.

If there's an interactive graphical terminal built into the binary, you 
shouldn't have to try anything.  gnuplot starts with the interactive one 
pre-activated, if there is any, and it tells you which that is, too:

$ gnuplot

         G N U P L O T
         Version 5.0 patchlevel 1    last modified 2015-06-07

         Copyright (C) 1986-1993, 1998, 2004, 2007-2015
         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')

Terminal type set to 'wxt'
gnuplot> plot x


[toc] | [prev] | [next] | [standalone]


#3276

FromDieter Britz <dieterhansbritz@gmail.com>
Date2016-04-01 07:28 +0000
Message-ID<ndl7v3$763$1@dont-email.me>
In reply to#3274
On Thu, 31 Mar 2016 19:41:01 +0200, Hans-Bernhard Bröker wrote:

> Am 31.03.2016 um 16:27 schrieb Dieter Britz:
>> At work, under Kubuntu, I installed gnuplot.
> 
> "Installed" how, exactly.  Odds are you either picked the wrong binary
> package from Kubuntu's selection, or, if you built it from source
> yourself, you didn't have enough development packages installed to get
> any of the graphical terminals built into your own binary.
> 
>> I tried several set term ... but nothing I tried works.
> 
> If there's an interactive graphical terminal built into the binary, you
> shouldn't have to try anything.  gnuplot starts with the interactive one
> pre-activated, if there is any, and it tells you which that is, too:
> 
> $ gnuplot
> 
>          G N U P L O T Version 5.0 patchlevel 1    last modified
>          2015-06-07
> 
>          Copyright (C) 1986-1993, 1998, 2004, 2007-2015 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')
> 
> Terminal type set to 'wxt'
> gnuplot> plot x

I installed it using apt-get, i.e.
sudo apt-get install gnuplot
- about 4 weeks ago, so I ought to have the latest v ersion (?).

I get this:

~> gnuplot

        G N U P L O T
        Version 4.6 patchlevel 4    last modified 2013-10-02 
        Build System: Linux i686

        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')

Terminal type set to 'unknown'

OK, I see it's version 4.6. How do I tell apt-get to go and get
the latest?

-- 
Dieter Britz

[toc] | [prev] | [next] | [standalone]


#3278

FromDieter Britz <dieterhansbritz@gmail.com>
Date2016-04-01 09:49 +0000
Message-ID<ndlg7j$kh8$1@dont-email.me>
In reply to#3276
On Fri, 01 Apr 2016 07:28:35 +0000, Dieter Britz wrote:

> On Thu, 31 Mar 2016 19:41:01 +0200, Hans-Bernhard Bröker wrote:
> 
>> Am 31.03.2016 um 16:27 schrieb Dieter Britz:
>>> At work, under Kubuntu, I installed gnuplot.
>> 
>> "Installed" how, exactly.  Odds are you either picked the wrong binary
>> package from Kubuntu's selection, or, if you built it from source
>> yourself, you didn't have enough development packages installed to get
>> any of the graphical terminals built into your own binary.
>> 
>>> I tried several set term ... but nothing I tried works.
>> 
>> If there's an interactive graphical terminal built into the binary, you
>> shouldn't have to try anything.  gnuplot starts with the interactive
>> one pre-activated, if there is any, and it tells you which that is,
>> too:
>> 
>> $ gnuplot
>> 
>>          G N U P L O T Version 5.0 patchlevel 1    last modified
>>          2015-06-07
>> 
>>          Copyright (C) 1986-1993, 1998, 2004, 2007-2015 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')
>> 
>> Terminal type set to 'wxt'
>> gnuplot> plot x
> 
> I installed it using apt-get, i.e.
> sudo apt-get install gnuplot - about 4 weeks ago, so I ought to have the
> latest v ersion (?).
> 
> I get this:
> 
> ~> gnuplot
> 
>         G N U P L O T Version 4.6 patchlevel 4    last modified
>         2013-10-02 Build System: Linux i686
> 
>         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')
> 
> Terminal type set to 'unknown'
> 
> OK, I see it's version 4.6. How do I tell apt-get to go and get the
> latest?

PS: I just tried installing it again:

> sudo apt-get install gnuplot
[sudo] password for britz: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gnuplot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

It doesn't go for the latest.
-- 
Dieter Britz

[toc] | [prev] | [next] | [standalone]


#3280

FromJörg Buchholz <bookwood4news@freenet.de>
Date2016-04-01 20:24 +0200
Message-ID<ndme7c$87e$1@dont-email.me>
In reply to#3278
On 01.04.2016 11:49, Dieter Britz wrote:
>>
>> Terminal type set to 'unknown'
>>
>> OK, I see it's version 4.6. How do I tell apt-get to go and get the
>> latest?
>
> PS: I just tried installing it again:
>
>> sudo apt-get install gnuplot

at debian based systems you must install additional to the gnuplot 
package one of the following packages to get a interactive terminal:

gnuplot-x11  is gnuplot 4.6.x with X11 terminal
gnuplot-qt is gnuplot 4.6.x with QT terminal and X11 terminal

gnuplot5-x11 is gnuplot 5.x.x with X11 terminal
gnuplot5-qt is gnuplot 5.x.x with QT terminal and X11 terminal

The packages without -x11 or -qt are without interactive terminals.

wxt is no longer supported on debian based systems.

Jörg

[toc] | [prev] | [next] | [standalone]


#3287

FromDieter Britz <dieterhansbritz@gmail.com>
Date2016-04-04 08:16 +0000
Message-ID<ndt7su$tfi$1@dont-email.me>
In reply to#3280
On Fri, 01 Apr 2016 20:24:47 +0200, Jörg Buchholz wrote:

> On 01.04.2016 11:49, Dieter Britz wrote:
>>>
>>> Terminal type set to 'unknown'
>>>
>>> OK, I see it's version 4.6. How do I tell apt-get to go and get the
>>> latest?
>>
>> PS: I just tried installing it again:
>>
>>> sudo apt-get install gnuplot
> 
> at debian based systems you must install additional to the gnuplot
> package one of the following packages to get a interactive terminal:
> 
> gnuplot-x11  is gnuplot 4.6.x with X11 terminal gnuplot-qt is gnuplot
> 4.6.x with QT terminal and X11 terminal
> 
> gnuplot5-x11 is gnuplot 5.x.x with X11 terminal gnuplot5-qt is gnuplot
> 5.x.x with QT terminal and X11 terminal
> 
> The packages without -x11 or -qt are without interactive terminals.
> 
> wxt is no longer supported on debian based systems.
> 
> Jörg

That was the clue. I reinstalled gnuplot as gnuplot-x11,
and it works fine now. I still get V. 4.6 but that's OK, it
does what I want.

-- 
Dieter Britz

[toc] | [prev] | [next] | [standalone]


#3290

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2016-04-04 11:07 +0200
Message-ID<ndtase$e98$1@solani.org>
In reply to#3287
Am 04.04.2016 um 10:16 schrieb Dieter Britz:
> 
> That was the clue. I reinstalled gnuplot as gnuplot-x11,
> and it works fine now. I still get V. 4.6 but that's OK, it
> does what I want.
> 

The default ubuntu 14.04 repository does not have gnuplot5.

[toc] | [prev] | [next] | [standalone]


#3317

Frommatsuoka.tatsuro.f.mbox@gmail.com
Date2016-04-29 16:04 -0700
Message-ID<7b66a55b-d523-4a74-bc05-2959a53e9f8c@googlegroups.com>
In reply to#3290
> The default ubuntu 14.04 repository does not have gnuplot5.

Older version of Ubuntu does not have newer version of applications.
Some applications can be installed via ppa but gnuplot is not the case.

However, building gnuplot on Ubuntu is not a hard work compared to 
that in windows.
Use the synaptic package manager to install dependency libraries and their dev tool (header files and others) and build toolkits. 
(dependency libraries: cairo, expat, libffi, fontconfig, freetype, glib, iconv,
intl(gettext), jpeg, pango, pixman, png, lua, qt, gtk, wxwidfgets)

At configure look carefully output messages to see whether missing libraries exist or not.  If some dependency libraries and build toolkits exist, go back to the synaptic package manager and install missing those.

After configure does not claim, you go ahead to "make", "make check", "sudo make install". 

[toc] | [prev] | [next] | [standalone]


#3279

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2016-04-01 15:04 +0200
Message-ID<ndlrk2$8pr$1@solani.org>
In reply to#3276
Am 01.04.2016 um 09:28 schrieb Dieter Britz:
> 
> OK, I see it's version 4.6. How do I tell apt-get to go and get
> the latest?
> 

The ubuntu repository should have a package gnuplot5, from debian
backports. Better use that.

Depending on you ubuntu release, there might be different packages
with or without certain terminals, -x11, -qt, -nox. I'd recommend
you use qt.

[toc] | [prev] | [next] | [standalone]


#3284

FromDieter Britz <dieterhansbritz@gmail.com>
Date2016-04-03 15:01 +0000
Message-ID<ndrb92$r85$1@dont-email.me>
In reply to#3274
On Thu, 31 Mar 2016 19:41:01 +0200, Hans-Bernhard Bröker wrote:

> Am 31.03.2016 um 16:27 schrieb Dieter Britz:
>> At work, under Kubuntu, I installed gnuplot.
> 
> "Installed" how, exactly.  Odds are you either picked the wrong binary
> package from Kubuntu's selection, or, if you built it from source
> yourself, you didn't have enough development packages installed to get
> any of the graphical terminals built into your own binary.
> 
>> I tried several set term ... but nothing I tried works.
> 
> If there's an interactive graphical terminal built into the binary, you
> shouldn't have to try anything.  gnuplot starts with the interactive one
> pre-activated, if there is any, and it tells you which that is, too:
> 
> $ gnuplot
> 
>          G N U P L O T Version 5.0 patchlevel 1    last modified
>          2015-06-07
> 
>          Copyright (C) 1986-1993, 1998, 2004, 2007-2015 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')
> 
> Terminal type set to 'wxt'
> gnuplot> plot x


That's interesting. At home I installed gnuplot some time ago on the same
system, Kubuntu 14.04, and it also gave me V.4.6, but wxt as default 
terminal type, and that works. I wonder how come it set an unknown type
on the work computer? Also, wxt doesn't seem to be included in the list
of possible types there. What can I do to fix this?

-- 
Dieter Britz

[toc] | [prev] | [next] | [standalone]


#3288

FromDieter Britz <dieterhansbritz@gmail.com>
Date2016-04-04 08:18 +0000
Message-ID<ndt803$tfi$2@dont-email.me>
In reply to#3284
On Sun, 03 Apr 2016 15:01:54 +0000, Dieter Britz wrote:

[...] 
> That's interesting. At home I installed gnuplot some time ago on the
> same system, Kubuntu 14.04, and it also gave me V.4.6, but wxt as
> default terminal type, and that works. I wonder how come it set an
> unknown type on the work computer? Also, wxt doesn't seem to be included
> in the list of possible types there. What can I do to fix this?

Forget this, the problem is solved.
-- 
Dieter Britz

[toc] | [prev] | [next] | [standalone]


#3283

FromGavin Buxton <gavinbuxton@gmail.com>
Date2016-04-02 09:40 -0700
Message-ID<2a61a794-9be3-4579-9be0-48adb1796779@googlegroups.com>
In reply to#3271
In my home folder in linux I type

Echo 'set term x11' > .gnuplot

To change my default to x11 rather than wxt....

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web