Minor problems with gnuplot installation,

Source: Internet
Author: User

Minor problems with gnuplot installation,

Today, when learning NS2. awk and gnuplot are used to analyze latency and packet loss.

Gnuplot is a very sophisticated drawing tool. It is easy to use and has powerful functions.

Installation or through the terminal: sudo apt-get install gnuplot

After installation, note that after entering gnuplot, if the last sentence shows Terminal type set to 'unkonwn ', the image cannot be displayed because the library file is missing.

There are many solutions. select one of the following two commands for execution.

Sudo apt-get install gnuplot-x11 // and the following command 2 select 1
Sudo apt-get install libx11-dev

I used the first one and installed a 'wxt 'library. Other libraries also had 'x11'. After installation, I re-run gnuplot.

The unkonwn of the last row has been changed to wxt. Next, let's test and draw a sin (x) diagram.

If you want to run a drawing script file (for test convenience), you can run it on the gnuplot terminal:

Load 'file _ name'

I believe this software will be frequently used in the future.

Ps: I watched the NS2. it seems that the efficiency is still not high this afternoon and evening, but it is also a bit rewarding. Stick to it and hope to get started early :):):)

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.