Graph library in Linux

Source: Internet
Author: User
In Linux, the graphic library-general Linux technology-Linux technology and application information is drawn. The following is a detailed description. Recently, I am looking for a C language library for drawing a large number of images under gtk + in linux. I have found a lot and I don't know which one is suitable for me. Next I will introduce it separately.

All are based on your own understanding, not necessarily correct. The following lists all open-source projects. For your reference, the following cario is a low-level library, which cannot whisper to others on the same day, and the others are gtk widgets.

1. gnome canvas
Libart-based images are the first choice for Drawing Images in the gnome environment. The images can be moved, zoomed in, scaled out, and projected. Although the function is powerful, I want to draw a large number of waveforms. I don't know if it is competent because it is relatively advanced.

2. cario
This must be competent. In The gnome environment, this is a basic 2D drawing engine. However, because it is a basic library, the api must be cumbersome and the encoding volume will be greatly increased, errors increase at the same time. If programming skills are average, the speed may not be the same.

3. geocanvas
This project is divided into two parts: crccanvas and geos. It is a GTK-based GIS component and is easy to use. Similar to gnome canvas, it provides better support for GIS projection conversion, but it also has the problem of gnome canvas, although its underlying layer is cairo.

4. plplot
This project, which started in 1983, is now quite mature and has a version of 5.8. This library is mainly used for mathematical drawing. In the past, there was a GT software under dos, and now the matlab is similar to it. At present, I think this is the first choice, because it uses cario as the underlying library and encapsulates most of the functions for drawing math. It has been developing for so many years and is very effective for a large amount of data processing. The only concern is its interaction capability, but there is no way, and everything has its two sides.

5. gtkglgraph
Today, we are testing to use the open-source mesa basic library of opengl. It is said that the api very is easy and opengl has unique features for processing a large amount of data. Therefore, this library is the fastest to draw and should be easier to use, however, if the version is 1.0, there may not be many features.

6. libgeos
This is not a graphics library, and it is listed here as a warning for your ignorance. This database is the basis of GIS and computes topological relationships. With this library, gnome canvas, geocanvas, and postage database, you can create an open source GIS-QGIS.

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.