Results 1 to 5 of 5

Thread: Automated Graph Plotting

  1. #1
    Join Date
    Jan 2006
    Location
    Florida
    Beans
    377
    Distro
    Ubuntu 6.06 Dapper

    Automated Graph Plotting

    My python program spits lot of data. I take that data and plot graphs using OfficeOrg spredsheet. I want to automate this task as this takes so much of time. I have some questions.

    1. which is the best graph plotting utility in linux. I know little about gnuplot. If you know any better tool without much learning curve please tell me.

    2. I want to write a script such that my python code writes to a file, some graph utility like gnuplot takes that data from the file and I get my graph ready made. Do you think its possible ?

    Any feedback regarding above is appreciated.

    Thanks

  2. #2
    Join Date
    Jul 2005
    Beans
    1,535
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Automated Graph Plotting

    Gnuplot is the way to go. There are a ton of tutorials available too. Here is an example file I have laying around to create a png for a plot of position versus time from a datafile called EXAMPLE5.1. Time is column 1, position is column 2
    Code:
    set terminal png
    set output "q1plot.png"
    set title "Plot of q1(t) for Problem 1"
    set xlabel "Seconds"
    set ylabel "Meters"
    unset key
    plot "EXAMPLE5.1" u 1:2 t "q1(t)" w lines
    A quick google search will find many tutorials for more advanced stuff.
    When I invented the Web, I didn't have to ask anyone's permission.
    ~Tim Berners-Lee on Net Neutrality
    -------------------------------------
    Visit the Ubuntu Programming IRC-channel at #ubuntu-programming (chat.freenode.net).

  3. #3
    Join Date
    Sep 2005
    Beans
    7

    Re: Automated Graph Plotting

    Well, since it is in python already. Why not use matplotlib ?
    http://matplotlib.sourceforge.net/screenshots.html
    It is great for graphs, you can view some source on that page too. Its a great plotlib.

  4. #4
    Join Date
    Apr 2011
    Beans
    2

    Re: Automated Graph Plotting

    Take a look at DataScene (http://www.cyber-wit.com). Its data monitoring feature might be useful to your applications.

  5. #5
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Automated Graph Plotting

    Closed!

    Hopefully, they've found a solution in the last five years.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •