Install Gnuplot_ubuntu under Ubuntu

Source: Internet
Author: User

http://blog.csdn.net/junzhu213/article/details/6420256

Refer to the above article and I'll turn it over.

First, the implementation of sudo apt-get install Libx11-dev installation x11, otherwise can not display graphics.

If not installed, will appear, in Gnuplot, in the terminal input gnuplot after the display terminal set to unknown, I refer to the following post
Http://forum.ubuntu.org.cn/viewtopic.php?p=512020&sid=3a8e8af71f1c2e35949157c35eb27b85
Ubuntuzhao said because X11 the library did not install the reason, I have asked the Ubuntuzhao, but now urgent, please all the experts to help, in addition, I used to see a terminal with help, and did not X11 the middle end, not even PNG, All of them are as follows:
aed512 aed767 AIFM Bitgraph
CGM Corel Dumb dxf
Eepic EMF Emtex Epslatex
epson-180dpi epson-60dpi epson-lx800 Fig
GPIC hp2623a hp2648 hp500c
HPDJ HPGL Hpljii HPPJ
Imagen kc-tek40xx km-tek40xx Latex
MF MIF MP NEC-CP6
Okidata PBM PCl5 Pop
PostScript Pslatex Pstex Pstricks
Push QMS Regis Selanar
Starc svg tandy-60dpi tek40xx
tek410x Texdraw tgif Tkcanvas
Tpic Vttek
And I set the midrange to PNG and returned as follows:
Set Terminal png
^
Unknown or ambiguous terminal type; Type just ' Set terminal ' for a list
Set to TGIF, output a GIF file, but can not open. Please all the experts to guide, it is better to solve the problem of the way to say more details. For example how to download X11 library, download the end of how to configure Gnuplot, trouble you master, urgently

The main Ubuntu installation file is not complete.

Second, install Gnuplot

1. Su Root


2. Cd/usr/local/src

1. Download gnuplot (version 4.4.0)

wget http://nchc.dl.sourceforge.net/project/gnuplot/gnuplot/4.4.0/gnuplot-4.4.0.tar.gz

2. Extract Files

TAR-ZXVF gnuplot-4.4.0.tar.gz

3. Configure the installation path

CD gnuplot-4.4.0

./configure

4. Compile

Make

5. Installation

Make install

Then find an example of everything ok!



PS: My installation at the beginning is available, but not the graphics, then install X11 or not, and then found that I was not installed under the root, so switch to root, and then install, note that at this time may need to copy the installation package to the root directory of Austria, Otherwise you need to go down to the current user to find the installation Bao. After successful installation in order, then run Gnuplot, the set terminal X11 is found, instead of set terminal unknown. This time to run, the drawing will find that the graphics can automatically eject. Wow, that's great.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.