Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3820
| X-Received | by 10.36.44.134 with SMTP id i128mr2593414iti.14.1510866304042; Thu, 16 Nov 2017 13:05:04 -0800 (PST) |
|---|---|
| X-Received | by 10.157.42.99 with SMTP id t90mr135539ota.5.1510866303893; Thu, 16 Nov 2017 13:05:03 -0800 (PST) |
| Path | csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.snarked.org!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!i6no448815itb.0!news-out.google.com!193ni991iti.0!nntp.google.com!i6no448812itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Thu, 16 Nov 2017 13:05:03 -0800 (PST) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=85.255.235.211; posting-account=EgmRWgoAAACeoJU4N6ARsoxEfF1vcy8t |
| NNTP-Posting-Host | 85.255.235.211 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <b0451901-7c2a-4dce-be1c-0858c35937c3@googlegroups.com> (permalink) |
| Subject | Newbie Help - Can gnuplot do what I need without modifying the input file? |
| From | eamonn.carlin@gmail.com |
| Injection-Date | Thu, 16 Nov 2017 21:05:04 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| Lines | 26 |
| Xref | csiph.com comp.graphics.apps.gnuplot:3820 |
Show key headers only | View raw
I'm using python on a Pi to log movement detected by a Infrared sensor. I'd like to represent the data on a line/bar graph with time on the x axis and the y axis being binary to represent movemnet (1) or no movement (0). Each movement will be recorded as a new row on the log (csv) file. Here is an example of the data: Start Date,Start Time, End Date, End Time, Duration 2017-11-02,19:45:20,2017-11-02,19:45:59,0:00:38 2017-11-02,22:26:53,2017-11-02,22:27:50,0:00:56 2017-11-03,01:09:49,2017-11-03,01:10:31,0:00:42 2017-11-03,01:23:23,2017-11-03,01:23:43,0:00:20 2017-11-03,04:24:10,2017-11-03,04:33:03,0:08:52 The monitoring is daily within a defined window (7pm to 7am) and a separate log file is created for each logging window. I would like my graph to represent the entire period of 7pm to 7am. Is it possible for gnuplot to represent a graph to my requirements without the need to modify the existing input file? My fear is that I may need to create a new input file specifically for gnuplot where each minute is recorded as a new row in the file with either 1 or 0 to show movement during that minute. I'm new to gnuplot so any advice would be appreciated.
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Newbie Help - Can gnuplot do what I need without modifying the input file? eamonn.carlin@gmail.com - 2017-11-16 13:05 -0800
Re: Newbie Help - Can gnuplot do what I need without modifying the input file? Karl Ratzsch <mail.kfr@gmx.net> - 2017-11-17 10:10 +0100
Re: Newbie Help - Can gnuplot do what I need without modifying the input file? eamonn.carlin@gmail.com - 2017-11-20 14:46 -0800
csiph-web