1. 程式人生 > >python的圖形介面作圖工具

python的圖形介面作圖工具

Python的圖形庫太全了,導致我現在都有點要轉到python麾下的衝動了。

Graphical Representations of Data

Over the years many different plotting modules and packages have been developed for Python. For most of that time there was no clear favorite package, but recently matplotlib has become the most widely used. Nevertheless, many of the others are still available and may suit your tastes or needs better. Some of these are interfaces to existing plotting libraries while others are Python-centered new implementations.

Image Processing and Analysis

  • The PIL Toolkit provides a very powerful set of tools for manipulating images. Documentation

  • PyQtGraph is a pure-python graphics library built on PyQt4 and numpy. It is intended for use in mathematics / scientific /engineering applications. The library provides widgets and graphicsItems for displaying / analyzing live image data (including 16-bit) as well as translate/scale/rotatable region-of-interest widgets for interactively slicing numpy arrays. The library is very fast due to its heavy leverage of numpy and Qt's graphicsView framework.

Plotting Tools

  • Matplotlib is an Open Source plotting library designed to support interactive and publication quality plotting with a syntax familiar to Matlab users. Its interactive mode supports multiple windowing toolkits (currently: GTK, Tkinter, Qt, and wxWindows) as well as multiple noninteractive backends (PDF, postscript, SVG, antigrain geometry, and Cairo). Plots can be embedded within GUI applications or for non-interactive uses without any available display in batch mode. Matplotlib provides both a Matlab-like functional interface as well as an object oriented interface. 

    IPython has a "pylab" mode which is specifically designed for interactive plotting with matplotlib.

  • Veusz is a GPL scientific plotting package written in Python and PyQt, designed to create publication-quality output. Graphs are built up from simple components, and the program features an integrated command-line, GUI and scripting interface. Veusz can also be embedded in other Python programs, even those not using PyQt.

  • Chaco is a device-independent 2D plotting package based on a DisplayPDF API. It supports fast vector graphics rendering forinteractive data analysis (read: fast live updating plots) and custom plot construction. Chaco is easy to embed in python GUI applications (wxWindows, Qt) and provides nice abstractions for overlays and tools (select regions, zoom/pan, cross-hairs, labels, data inspectors, etc.). Chaco is able to output to any raster format supported by PIL, as well as PDF, PostScript and SVG backends. See the gallery for screenshots and code examples.

  • KonradHinsen has some plotting support in his ScientificPython package, for example TkPlotCanvas.

  • plot_wrap A module by Mike Miller which wraps the functions in the GNU plotutils package.

  • BLT BLT is an extension to the tk widgets that can produce X/Y plots and bar charts. The BLT package can be used through the Pmw package, a framework for the creation of megawidgets built on top of Tkinter.

  • PyQwt is a set of Python bindings for the Qwt C++ class library which extends the Qt framework with widgets for scientific and engineering applications.

  • GUIQwt is a Python library based on Qwt providing efficient 2D data-plotting features (curve/image visualization and related tools) for interactive computing and signal/image processing application development.

  • DISLIN DISLIN is a high-level and easy to use graphics library for displaying data as curves, bar graphs, pie charts, 3D-color plots, surfaces, contours and maps. The software is available for several C, Fortran 77 and Fortran 90 compilers. For some operation systems, the programming languages Python and Perl are also supported by DISLIN. DISLIN is free for the Linux and FreeBSD operating systems and for the MS-DOS and Windows 95/NT compilers GCC, G77 and ELF90. Other DISLIN versions are available at low prices and can be tested free of charge.

  • Mayavi Starting from Mayavi2, the 3D data visualization program Mayavi is fully scriptable from Python, can be integrated in larger applications, and exposes a simple pylab/matlab-like interface for plotting arrays.

  • gdmodule GD is a graphics library for the creation of GIF pictures, written by Thomas Boutell. gdmodule is an Python extension for this library. It can do lines, arcs, fills, fonts and can also manipulate other GIF pictures. Included in the gdmodule is a graphing module, which can produce line plots from data.

  • Gist Extension to the gist graphics library, which is part of another

    numeric environment named [ftp://ftp-icf.llnl.gov/pub/Yorick yorick]. It can produce line, contour, surface plots on quadrilateral meshes. On top of the low-level interface the people from LLNL have build an object-oriented interface which can also doisosurface and 3D slicing plots together with light and script based animation. The interface is well documented. The package is now part of the LLNL Python distribution. Gist originally ran only under Unix-like operating systems. The latest source and a Windows installer are available from the University of Tokyo.

  • pgplot Extension to the pgplot graphics library, a portable, device independent graphics package for making simple scientificgraphs. The library is intended for making graphical images of publication quality with minimum effort on the part of the user. Allfunctions are directly callable from Python, through the use of SWIG for wrapper code generation. Pgplot has drivers for many different graphics formats and devices, although there are problems with the MS-Windows driver.

  • Py-OpenDX OpenDX is the open-source version of the IBM Data Explorer (DX). DX is a visualization system providing a full set of tools for manipulating, rendering and animating data, especially 3D data from simulations or acquired from observations. It provides a GUI, a scripting interface and the API C libraries. Py-OpenDX is a Python binding for the OpenDX API. Currently only the DXLink library is wrapped. That wrapper allows one to start up a DX executive and communicate with it via the DXL API.

  • VTK VTK is an OO-framework for visualisation, written in C++ with bindings to TCL, Python and Java. It's not really a plottingpackage, but a visualisation system, where one needs to program to get a picture. It's very huge and resource demanding and best used on hardware with good graphics performance. It uses mainly OpenGL for rendering, so it can not produce vector graphics or high quality postscript output. Besides of that VTK is very powerful and can produce really great views of your data.

  • RPy -- a Python interface to the R programming language. R is a large, robust package for doing math and statistics; itincludes many, many graphing options.

  • R/SPlus Python Interface. Another R interface. Currently it allows Python code to call

    R functions, and write R code to create Python objects and call Python functions and methods. This allows Python programmers unfamiliar with the syntax of R to easily use its functionality.

  • PyX is a library for creating figures in Postscript and PDF, which uses TeX/LaTeX for the text output.

  • Biggles is another plotting library that supports multiple output formats, as is Piddle.

  • Pychart is a library for creating EPS, PDF, PNG, and SVG charts. It supports line plots, bar plots, range-fill plots, and pie charts.

  • PyNGL is a Python interface to the high quality 2D scientific visualizations in the NCAR Command Language (NCL).

  • WHIFF includes built in support for generating Adobe Flash chart widgets using either the amCharts charting package or theOpen Flash Chart package. The generated charts may be embedded in dynamic web pages.

  • PyQtGraph is a pure-python graphics library built on PyQt4 and numpy. It is intended for use in mathematics / scientific /engineering applications. The library is very fast due to its heavy leverage of numpy and Qt's graphicsView framework. Major features: 1) a feature-rich plotting system, and 2) an image display system with translate/scale/rotatable region-of-interest widgets.

  • pyla is a set of pure-python 3 (3.x) libraries for 2D/3D plotting using Gnuplot, linear algebra (vector-matrix) operation, ode (ordinary differential equation) solvers, optimization and nonlinear algebraic equation solvers. It is in alpha release and its gplot library has been released. pyla-gplot is a very simple yet powerful library very similar to Gnuplot.py but works under python 3.x and does not require Numpy.

Also of Note

  • There is an interface to the OpenGL library called PyOpenGL that can be used to write sophisticated visualization tools from scratch.

  • The FXPy bindings to the FOX GUI library support OpenGL, so might be a good starting point for new applications.

相關推薦

python圖形介面作圖工具

Python的圖形庫太全了,導致我現在都有點要轉到python麾下的衝動了。Graphical Representations of DataOver the years many different plotting modules and packages have be

MySQL學習 二 圖形介面管理工具Navicat for MySQL安裝和使用

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

Python圖形介面turtle入門

簡單入門,畫兩個正方形,把幾個常用的操作加入了其中。 import turtle t=turtle.Pen() for i in range(4): t.forward(100) t.left(4) t.reset() i = 0 while i < 4: t.backw

Python圖形介面之Tkinter簡單用法

前言 Tkinter 是 Python 標準的 GUI 工具包包含在Python標準安裝包中,所以無需再另外安裝。我個人覺得使用 Tkinter 建立 GUI 介面相比於 PyQt 來說程式碼更加簡潔,不過看個人愛好吧,只要熟悉這些 GUI 工具包過後使用起來都不算難,關鍵是找到自己

10款最好用的MySQL資料庫客戶端圖形介面管理工具

 MySQL 在過去由於效能高、成本低、可靠性好,已經成為最流行的開源資料庫,因此被廣泛地應用在 Internet 上的中小型網站中。隨著 MySQL 的不斷成熟,它也逐漸用於更多大規模網站和應用,比如維基百科、Google 和 Facebook 等網站。非常流行的開源軟

Cordova - Windows版本圖形介面管理工具,告別命令列輸入方式!

原文: Cordova - Windows版本圖形介面管理工具,告別命令列輸入方式! Cordova本身提供的是命令列管理工具,並沒有提供圖形介面管理工具,雖然命令列管理工具可以完成所有Cordova管理,但是對於我這種懶蛋,可真不希望每次都輸入命令,而且我更擔心一旦輸錯一個字元,命令執行失敗,再次重新輸入

Python圖形介面實戰:使用PyQt5/PiSide2製作二維碼生成器

  一、文中涉及 本文涉及以下知識點: PyQt5/PiSide2網格佈局的使用; PyQt5/PiSide2按鈕小部件的使用; PyQt5/PiSide2標籤小部件的使用; PyQt5/PiSide2選值框小部件的使用; PyQt5/PiS

Python 圖形介面 GUI Tkinter 例項

Python  實現圖形化介面  # -*- coding: cp936 -*- from Tkinter import * import tkMessageBox class Application(Frame): def __init__(self, ma

SSDB圖形介面管理工具:phpssdbadmin安裝部署

環境: 14.04.1-Ubuntu 1、安裝Nginx apt-get install nginx ubantu安裝完Nginx後,檔案結構大致為:   所有的配置檔案都在 /etc/nginx下;   啟動程式檔案在 /usr/sbin/nginx下;   日誌檔案在 /var/log/nginx/下

Python 圖形介面 Tkinter 實現倒計時

# Countdown using Tkinter from Tkinter import * import time import tkMessageBox class App: def __init__(self,master): frame

Python圖形介面中設定尺寸的問題

   Python有自己內建的標準GUI庫--Tkinter,只要安裝好Python就可以呼叫。今天學習到了圖形介面設計的問題,剛開始就卡住了。為啥呢?就是用geometry(size)設定視窗尺寸大小,如800X600,“X”從哪裡來成了問題。首先想到,這是個乘號,但是在程式中沒有插入特殊符號這一說啊。所以

matplotlib | Python強大的作圖工具,讓你從此駕馭圖表

今天是資料處理專題的第9篇文章,在之前的8篇文章當中我們已經介紹完了pandas這個庫的一些基本用法,我們先把一些冷門的高階用法放一放,先來給大家介紹一下另外一個很有用的資料分析庫——matplotlib。 matplotlib簡介 如果你在大學裡參加過數學建模競賽或者是用過MATLAB的話,相比會對這一

matplotlib | Python強大的作圖工具,讓你從此駕馭圖表(二)

今天是資料處理專題的第10篇文章,我們繼續來聊聊matplot這個工具庫。 在上週的文章當中我們介紹了matplot的基本用法,以及展示了一些簡單的例子,讓大家直觀地瞭解這個工具包。我們可以簡單地將它理解成專門用來作圖的工具,但是它作圖的功能又非常強大,以至於並不能當成一個簡單的內容來對待。道理也很簡單,老闆

【情人節選帽子】TCS34725顏色感測器和Python圖形介面程式設計(STM32 HAL庫)

截圖    描述: l  STM32 HAL庫程式設計 l  使用模擬IIC通訊,方便程式移植 l  Python介面編寫,蘑菇頭的帽子是什麼顏色 l  STM32 HAL庫串列埠通訊 l  Python介面使用Pygame  

Linux下python工具不顯示圖形介面的解決方案

一、命令列輸入jupyter-notebook沒反應那是因為需要到圖形介面下開啟瀏覽器輸入http://localhost:8888/tree才可以,第一次登陸的時候還需要填寫一個token,在命令列有提示二、命令列輸入Spyder沒反應Linux 下給Spyder建立桌面快

利用python圖形介面實現一些小工具

import easygui as g import sys import datetime import uuid import socket import psycopg2 import uuid nowTime=datetime.datetime.now

Gftp - Linux / Ubuntu 之間檔案傳輸圖形介面工具

Gftp - Linux / Ubuntu 之間檔案傳輸圖形介面工具 https://www.gftp.org/ 1. Linux / Ubuntu 之間檔案傳輸圖形介面工具 Host: 遠端伺服器 IP Port: 22 User: username Pass: passwo

MariaDb資料庫管理系統學習(二)使用HeidiSQL資料庫圖形介面管理工具

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

linux工作筆記-linux之間檔案傳輸圖形介面工具gftp

原部落格地址如下: https://blog.csdn.net/w5nner/article/details/21174671     linux系統之間傳輸檔案習慣使用gftp,現寫一下安裝與使用記錄。 安裝: 1、下載gftp原始碼,官網http://

python 安裝 Anaconda 以及 Linux 安裝視覺化圖形介面

SecureCRT+Xming實現Linux遠端圖形繪畫 2.然後我們需要安裝一個外掛  yum -y install bzip2 3.安裝Anaconda 在環境變數配置 vim ~/.bashrc 中增加上圖的配置,即可檢視cond