Plot a curve using GNUPlot

Source: Internet
Author: User

It is found that gnuplot compilation and installation on mac is quite convenient. In order to test the size of the old java heap and lucene indexes online, two lines need to be drawn, but the lines directly connected by points are very ugly, therefore, the besell curve is used later.

The script is as follows:


#! /Usr/local/bin/gnuplot-p


Set terminal canvas;
Set output "canvas.html"
Set title "authentication ";
Set xlabel "Time (Unit: second )";
Set ylabel "Old Generation Heap Size/Index Size (Unit: GB )";

Plot "OldGenerationHeap" using smooth besuppliers, "IndexSize" using smooth besuppliers;


Final results of the show:


Great!

Plot a curve using GNUPlot

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.