Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 18th, 2005, 09:30 PM
Jan Rienyer Gadil
Guest
 
Posts: n/a
Default Graph and Table implementation

could anyone please help me!

what and how is the best implementation of creating a table based on
data coming from the serial port ? and also how would i be able to
create graphs (2D) based on these data?

opinions and suggestion are most highly welcome. thanks.

jr
  #2  
Old July 18th, 2005, 09:30 PM
Peter Hansen
Guest
 
Posts: n/a
Default Re: Graph and Table implementation

Jan Rienyer Gadil wrote:[color=blue]
> could anyone please help me!
>
> what and how is the best implementation of creating a table based on[/color]

What is a "table", to you? It could mean anything from
something you intend to print, to a GUI-based representation
similar to a spreadsheet, to a simple two-dimensional array
of data in memory.
[color=blue]
> data coming from the serial port ? and also how would i be able to
> create graphs (2D) based on these data?[/color]

Platform? GUI framework, if you've chosen one? etc. etc.

I might suggest using wxPython, with a wx.Grid and wxPyPlot,
but given how little useful information you've provided,
that could well be far from suitable.

-Peter
  #3  
Old July 18th, 2005, 09:30 PM
Thomas Bartkus
Guest
 
Posts: n/a
Default Re: Graph and Table implementation

"Jan Rienyer Gadil" <jrlen97@gmail.com> wrote in message
news:mailman.994.1106299588.22381.python-list@python.org...[color=blue]
> could anyone please help me!
>
> what and how is the best implementation of creating a table based on
> data coming from the serial port ? and also how would i be able to
> create graphs (2D) based on these data?
>
> opinions and suggestion are most highly welcome. thanks.
>[/color]
If you want to use existing tools, it is hard to beat a spreadsheet with a
scatter plot graph object.
If you are on the Microsoft side of the fence, Excel is perfect for this.
There is an easy to use MSCOMM32.OCX object to control the serial port.
This reduces your problem to moving the serial port data to an [x,y] column
that is attached to a scatter plot.

This is easy to do with Excel's built in VBA so I assume it would also be
easy to do with Python, given that you can use Python to manipulate the
Excel object model .

On the Linux/Unix side. Gnumeric seems to serve very well although I don't
yet have sufficient personal experience with it to know about the "gotcha's"
you might encounter. I am also guessing that the Open Office spreadsheet
would work too.

Thomas Bartkus




 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles