Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Graphication 0.1.0

    Download button

    No screenshots available
    Downloads: 324  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Andrew Godwin | More programs
    GPL / FREE
    May 26th, 2009, 16:51 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Graphication description

    A Cairo-based graphing library

    Graphication is a Cairo-based graphing library.

    Graphication is a Python library for, essentially, making pretty graphs. They’re not pixel-perfectly mathematically accurate, they don’t necessarily suit all applications, and can only plot discrete data (no functions for you!).

    However, if you want nice ways to present data to your users, you’re in the right place.

    Where it’s used

    Graphication has mostly evolved over time to fit the needs of the two main projects it is used in, LastGraph and The Carbon Account. Being more of an evolved library, it’s a bit convoluted in places, but it does work.

    Examples

    I’m a fond believer in code examples to give people an idea of how a library works:

    from graphication import *
    from graphication.wavegraph import WaveGraph

    # Create the data set - we'll have one series
    series_set = SeriesSet()
    series = Series("Something", {0:0.5, 1:1.0, 3:0.2}, "#369")
    series_set.add_series(series)

    # Create a WaveGraph using a simple scale from 0-3.
    scale = SimpleScale(0, 3)
    wg = WaveGraph(series_set, scale)

    # We create an output and add the wavegraph to it
    output = FileOutput()
    output.add_item(wg, x=0, y=0, width=400, height=150)

    # Save to an image
    output.write("png", "test.png")



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    graphing library | Python library | Cairo | graphing | library

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM