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


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

regarding png terminal missing in gnuplot

Started byanjaliachawla013@gmail.com
First post2015-03-16 04:31 -0700
Last post2015-03-16 21:47 -0700
Articles 8 — 3 participants

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


Contents

  regarding png terminal missing in  gnuplot anjaliachawla013@gmail.com - 2015-03-16 04:31 -0700
    Re: regarding png terminal missing in  gnuplot Karl <mail.kfr@gmx.net> - 2015-03-16 14:19 +0100
      Re: regarding png terminal missing in  gnuplot Anjali Chawla <anjaliachawla013@gmail.com> - 2015-03-16 08:56 -0700
        Re: regarding png terminal missing in  gnuplot Karl <mail.kfr@gmx.net> - 2015-03-16 17:23 +0100
          Re: regarding png terminal missing in  gnuplot Anjali Chawla <anjaliachawla013@gmail.com> - 2015-03-16 10:04 -0700
            Re: regarding png terminal missing in  gnuplot Karl <mail.kfr@gmx.net> - 2015-03-16 19:06 +0100
              Re: regarding png terminal missing in  gnuplot Anjali Chawla <anjaliachawla013@gmail.com> - 2015-03-16 11:24 -0700
                Re: regarding png terminal missing in  gnuplot Anjali Chawla <anjaliachawla013@gmail.com> - 2015-03-16 21:47 -0700

#2815 — regarding png terminal missing in gnuplot

Fromanjaliachawla013@gmail.com
Date2015-03-16 04:31 -0700
Subjectregarding png terminal missing in gnuplot
Message-ID<ffe5a113-d6da-4486-a33c-cdb2339e32b0@googlegroups.com>
Hi

i need to use png terminal.But it is giving error message when i did:

gnuplot> set terminal png  
Terminal type set to 'unknown'
                      ^
         unknown or ambiguous terminal type; type just 'set terminal' for a list





gnuplot> set terminal

Available terminal types:
           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
         epslatex  LaTeX picture environment using graphicx package
              fig  FIG graphics language for XFIG graphics editor
             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
            latex  LaTeX picture environment
               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)
Press return for more: 
       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]]
         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
              x11  X11 Window System
             xlib  X11 Window System (gnulib_x11 dump)
            xterm  Xterm Tektronix 4014 Mode




Someone please tell me how can i make gnuplot suitable for png plot.
The gnuplot which i am using now is:

G N U P L O T
	Version 4.6 patchlevel 6    last modified September 2014
	Build System: Linux i686

[toc] | [next] | [standalone]


#2816

FromKarl <mail.kfr@gmx.net>
Date2015-03-16 14:19 +0100
Message-ID<me6l97$2o4$1@news.rz.uni-karlsruhe.de>
In reply to#2815

Am 16.03.2015 um 12:31 schrieb anjaliachawla013@gmail.com:
> Hi
> 
> i need to use png terminal.But it is giving error message when i did:
> 
> gnuplot> set terminal png  
> Terminal type set to 'unknown'
>                       ^
>          unknown or ambiguous terminal type; type just 'set terminal' for a list
> 
> 
> 
> 
> 
> gnuplot> set terminal
> 
> Available terminal types:
>            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
>          epslatex  LaTeX picture environment using graphicx package
>               fig  FIG graphics language for XFIG graphics editor
>              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
>             latex  LaTeX picture environment
>                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)
> Press return for more: 
>        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]]
>          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
>               x11  X11 Window System
>              xlib  X11 Window System (gnulib_x11 dump)
>             xterm  Xterm Tektronix 4014 Mode
> 
> 
> 
> 
> Someone please tell me how can i make gnuplot suitable for png plot.
> The gnuplot which i am using now is:
> 
> G N U P L O T
> 	Version 4.6 patchlevel 6    last modified September 2014
> 	Build System: Linux i686
> 

Your gnuplot build has neither the png nor the pngcairo terminal
compiled into it. It looks like a rather minimal build, did you compile
it yourself?

You need to install the headers files for libgd (for png, jpeg, gif)
and/or libcairo/libpango (for pngcairo etc.) first. (named ##-dev in
most distributions.) Then rerun ./configure, the summary on the last
page tells you if all necessary libraries for the respective terminals
have been found. make, make install, you get it.

If it came with your distribution (which one?), you probably picked the
minimal X11-only gnuplot build or so. Check if there's another one
available in your package manager.

  Karl

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


#2818

FromAnjali Chawla <anjaliachawla013@gmail.com>
Date2015-03-16 08:56 -0700
Message-ID<888ba618-2e38-4fde-b950-6e0ac9c7cfb7@googlegroups.com>
In reply to#2816
Thanks for the reply.

Earlier i have installed gnuplot by downloading "gnuplot-4.6.6" and following  this "https://techtravelo.wordpress.com/2013/10/04/gnuplot-in-ubuntu-12-04-installing/"  post.


Now i have uninstalled it by "make uninstall".
when i gave  
$ gnuplot                  its showing:




The program 'gnuplot' can be found in the following packages:
 * gnuplot-nox
 * gnuplot-x11
Try: sudo apt-get install <selected package>



Now please tell me how should i install gnuplot so that it will have png support?
Please tell me complete procedure because i am not all good in linux.

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


#2820

FromKarl <mail.kfr@gmx.net>
Date2015-03-16 17:23 +0100
Message-ID<me701l$6uj$1@news.rz.uni-karlsruhe.de>
In reply to#2818
Am 16.03.2015 um 16:56 schrieb Anjali Chawla:
> Thanks for the reply.
> 
> Earlier i have installed gnuplot by downloading "gnuplot-4.6.6" and following  this "https://techtravelo.wordpress.com/2013/10/04/gnuplot-in-ubuntu-12-04-installing/"  post.
> 

You very nearly succeded. You only have to install the developer library
packages mentioned in the end of that page before running "./configure
&& make && make install". But nevermind ...

> The program 'gnuplot' can be found in the following packages:
>  * gnuplot-nox
>  * gnuplot-x11
> Try: sudo apt-get install <selected package>
> 
> Now please tell me how should i install gnuplot so that it will have png support?
> Please tell me complete procedure because i am not all good in linux.
> 

Installing the package supplied by Ubuntu is certainly the simplest
solution. gnuplot-x11 also has the interactive wxt/qt terminals compiled
in, i guess you want that.

Just

 sudo apt-get install gnuplot-x11

and give your password. If you have sudo rights. Otherwise you need to
get hold of your admin anyway, because you then also cannot install the
developer library packages mentioned above to compile it yourself.

  Karl

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


#2821

FromAnjali Chawla <anjaliachawla013@gmail.com>
Date2015-03-16 10:04 -0700
Message-ID<035112ab-b558-4bb9-92ef-4be3d8de1be6@googlegroups.com>
In reply to#2820
hey thanks by "sudo apt-get install gnuplot-x11" 
it has png terminal.

But can you tell me how can i copy it to "/usr/local/bin"?
Because where i need this png terminal it is showing now :



ns: finish: couldn't execute "/usr/local/bin/gnuplot": no such file or directory
    while executing
"exec $gnuplot_app_path_ -persist [$self command-filename $graph] &"
    (procedure "_o14" line 11)
    (gnuplot protected-plot-after-command-file line 11)
    invoked from within
"$low_level_plotter_ protected-plot-after-command-file $graph"
    (procedure "_o13" line 32)
    (postscript protected-plot line 32)
    invoked from within
"$self protected-plot $graph"
    (procedure "_o13" line 7)
    (PlotDevice plot line 7)
    invoked from within
"$plot_device plot $self"
    (procedure "_o736" line 19)
    (Graph display line 19)
    invoked from within
"$util_graph_fwd_($i) display"
    (procedure "_o12" line 59)
    (Create_graph finish line 59)
    invoked from within
"$graph finish"
    (procedure "finish" line 9)
    invoked from within
"finish"


Can you please help further?

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


#2822

FromKarl <mail.kfr@gmx.net>
Date2015-03-16 19:06 +0100
Message-ID<me7639$9n1$1@news.rz.uni-karlsruhe.de>
In reply to#2821
Am 16.03.2015 um 18:04 schrieb Anjali Chawla:
> 
> hey thanks by "sudo apt-get install gnuplot-x11" 
> it has png terminal.
> 
> But can you tell me how can i copy it to "/usr/local/bin"?
> Because where i need this png terminal it is showing now :

You better change that variable $gnuplot_app_path to be
"/usr/bin/gnuplot", instead of "/usr/local/bin..."

What kind of a program is that?

  Karl

> ns: finish: couldn't execute "/usr/local/bin/gnuplot": no such file or directory
>     while executing
> "exec $gnuplot_app_path_ -persist [$self command-filename $graph] &"
>     (procedure "_o14" line 11)
>     (gnuplot protected-plot-after-command-file line 11)
>     invoked from within
> "$low_level_plotter_ protected-plot-after-command-file $graph"
>     (procedure "_o13" line 32)
>     (postscript protected-plot line 32)
>     invoked from within
> "$self protected-plot $graph"
>     (procedure "_o13" line 7)
>     (PlotDevice plot line 7)
>     invoked from within
> "$plot_device plot $self"
>     (procedure "_o736" line 19)
>     (Graph display line 19)
>     invoked from within
> "$util_graph_fwd_($i) display"
>     (procedure "_o12" line 59)
>     (Create_graph finish line 59)
>     invoked from within
> "$graph finish"
>     (procedure "finish" line 9)
>     invoked from within
> "finish"
> 
> 
> Can you please help further?
> 

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


#2823

FromAnjali Chawla <anjaliachawla013@gmail.com>
Date2015-03-16 11:24 -0700
Message-ID<e3b01ff8-e255-4af9-87a9-2789abc53e79@googlegroups.com>
In reply to#2822

Actually its a tool NS2(NetworkSimulator 2).
And i don't where it is taking "/usr/local/bin".
After running it just shows that message.

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


#2824

FromAnjali Chawla <anjaliachawla013@gmail.com>
Date2015-03-16 21:47 -0700
Message-ID<f8baf054-83b2-4f1a-a3b1-5c6832fe2e49@googlegroups.com>
In reply to#2823
Hi

should i need to do path setting like "export PATH=/usr/bin:$PATH" or in "bash" file ?

[toc] | [prev] | [standalone]


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


csiph-web