go_away

Author Topic: Graphing Packages  (Read 1074 times)

0 Members and 1 Guest are viewing this topic.

Offline richiereynoldsTopic starter

  • Full Member
  • ***
  • Posts: 112
  • Helpful? 3
Graphing Packages
« on: January 27, 2011, 11:46:06 AM »
Folks, could anyone recommend a decent free graphing package? Open source would be nice. Primarily I want to read data from the serial port and graph it so one that could do that, based on config of some sort for data format, would be great.

Faling that, a package that could take a feed of any sort and produce nice graphs would do. I'm a software engineer by trade so no issue in writing something to pull/push data from the serial port to the software but I don't want to re-invent the wheel in terms of GUI and producing the graphs.

I've been using a "processing" GUI I found on the arduino forum, which is fine, but a bit limited and clunky, though it does provide the ability to send data on the serial port too which is handy.

Thanks!

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 98
Re: Graphing Packages
« Reply #1 on: January 27, 2011, 12:08:47 PM »
I use Microsoft Excel. I write the serial data to a file and use the Excel's data import.
I haven't tried but Excel also has VB (Visual Basic) built in so it could link in a COMM port package to bring serial data directly into the Excel worksheet.

Offline Asellith

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 648
  • Helpful? 9
  • "I'm a leaf on the wind. Watch how I soar"
Re: Graphing Packages
« Reply #2 on: January 27, 2011, 12:35:30 PM »
Open Office maybe? Excel could do it easily with some VBA script.
Jonathan Bowen
CorSec Engineering
www.corseceng.com

Offline garrettg84

  • Robot Overlord
  • ****
  • Posts: 187
  • Helpful? 8
  • Armchair Roboticist Extraordinaire
Re: Graphing Packages
« Reply #3 on: January 27, 2011, 01:11:57 PM »
http://matplotlib.sourceforge.net/

What about using a scripting language like python?


for serial coms
http://pyserial.sourceforge.net/


Python is fairly cross platform...
-garrett

Offline richiereynoldsTopic starter

  • Full Member
  • ***
  • Posts: 112
  • Helpful? 3
Re: Graphing Packages
« Reply #4 on: January 27, 2011, 04:40:56 PM »
I use Microsoft Excel. I write the serial data to a file and use the Excel's data import.
I haven't tried but Excel also has VB (Visual Basic) built in so it could link in a COMM port package to bring serial data directly into the Excel worksheet.

Was looking for something to do the graphing in realtime though, e.g. produce a line graph as the data comes in from the port, can excel do that? (Forgive my ignorance, I'm a unix person!)

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 98
Re: Graphing Packages
« Reply #5 on: January 27, 2011, 05:41:27 PM »
Excel probably can not do that but with a VB script it may.

If I need a special realtime graph I write code in C using Windows API functions.


Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Re: Graphing Packages
« Reply #6 on: January 29, 2011, 04:13:24 AM »
I think that you should be searching for a "Histogram" package rather than a graph package if you want to graph real time events

Offline richiereynoldsTopic starter

  • Full Member
  • ***
  • Posts: 112
  • Helpful? 3
Re: Graphing Packages
« Reply #7 on: February 07, 2011, 02:57:48 PM »
Thanks for the ideas folks, heven't had time to try any lately, once I do I'll let you know which one's were good.

Dplot looks pretty interesting.

Offline Kirk

  • Jr. Member
  • **
  • Posts: 44
  • Helpful? 2
Re: Graphing Packages
« Reply #8 on: February 18, 2011, 10:59:12 PM »
Check out Processing. It is a graphical tool (java based) I found an "oscope" example that reads the serial port and draws a scrolling chart.
Kirk

 


Get Your Ad Here