Re: read datas from sensors and plotting

2016-04-17 Thread ranran



Check out plotly

https://plot.ly/python/


nice!
but it's no completely free...for example I should plot 4 chart of 
temperatures in the same time. I think I can plot only 1 chart.
Anyway I need to be connected to internet instead sometimes I want to 
show it only in my webserver.

--
https://mail.python.org/mailman/listinfo/python-list


RE: read datas from sensors and plotting

2016-04-17 Thread Albert-Jan Roskam


> From: ran...@nospam.it
> Subject: read datas from sensors and plotting
> Date: Sun, 17 Apr 2016 18:46:25 +0200
> To: python-list@python.org
> 
> I'm reading in python some values from some sensors and I write them in 
> a csv file.
> My problem now is to use this datas to plot a realtime graph for a 
> example in a web server.
> Is it possible to read in the same time the values, writing in the file 
> and plot them in a webpage with python?


tail -F data.log | python myprogram.py
http://stackoverflow.com/questions/1712276/tail-read-a-growing-dynamic-file-and-extract-two-columns-and-then-print-a-graphhttp://code.activestate.com/recipes/577968-log-watcher-tail-f-log/
  
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: read datas from sensors and plotting

2016-04-17 Thread Joel Goldstick
On Sun, Apr 17, 2016 at 1:00 PM, Larry Martell  wrote:
> On Sunday, April 17, 2016, ranran  wrote:
>
>> I'm reading in python some values from some sensors and I write them in a
>> csv file.
>> My problem now is to use this datas to plot a realtime graph for a example
>> in a web server.
>> Is it possible to read in the same time the values, writing in the file
>> and plot them in a webpage with python?
>>
>
> Check out plotly
>
> https://plot.ly/python/
> --
> https://mail.python.org/mailman/listinfo/python-list


Matplotlib and pygals are two others.

-- 
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: read datas from sensors and plotting

2016-04-17 Thread Larry Martell
On Sunday, April 17, 2016, ranran  wrote:

> I'm reading in python some values from some sensors and I write them in a
> csv file.
> My problem now is to use this datas to plot a realtime graph for a example
> in a web server.
> Is it possible to read in the same time the values, writing in the file
> and plot them in a webpage with python?
>

Check out plotly

https://plot.ly/python/
-- 
https://mail.python.org/mailman/listinfo/python-list