Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2733 > unrolled thread
| Started by | anthonyfromtheuk@gmail.com |
|---|---|
| First post | 2015-01-31 12:01 -0800 |
| Last post | 2015-01-31 13:21 -0800 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Basic Plotting anthonyfromtheuk@gmail.com - 2015-01-31 12:01 -0800
Re: Basic Plotting Colin Brough <Colin.Brough@blueyonder.co.uk> - 2015-01-31 21:15 +0000
Re: Basic Plotting Anthony fromtheuk <anthonyfromtheuk@gmail.com> - 2015-01-31 13:21 -0800
| From | anthonyfromtheuk@gmail.com |
|---|---|
| Date | 2015-01-31 12:01 -0800 |
| Subject | Basic Plotting |
| Message-ID | <0239f0fb-e7e3-4de7-bcae-1eaea800e753@googlegroups.com> |
Is it possible to generate a graph from a txt file that looks like this? 22.6 Sat Jan 31 19:38:18 2015 22.8 Sat Jan 31 19:40:05 2015 22.8 Sat Jan 31 19:40:11 2015 22.8 Sat Jan 31 19:40:16 2015 22.7 Sat Jan 31 19:49:00 2015 23.2 Sat Jan 31 19:59:09 2015 the first number being a temperature reading. Having trouble figuring out how to get this work. Thanks
[toc] | [next] | [standalone]
| From | Colin Brough <Colin.Brough@blueyonder.co.uk> |
|---|---|
| Date | 2015-01-31 21:15 +0000 |
| Message-ID | <6Cbzw.525684$Ud7.168222@fx11.am4> |
| In reply to | #2733 |
On 31/01/15 20:01, anthonyfromtheuk@gmail.com wrote:
> Is it possible to generate a graph from a txt file that looks like this?
>
> 22.6 Sat Jan 31 19:38:18 2015
> 22.8 Sat Jan 31 19:40:05 2015
> 22.8 Sat Jan 31 19:40:11 2015
> 22.8 Sat Jan 31 19:40:16 2015
> 22.7 Sat Jan 31 19:49:00 2015
> 23.2 Sat Jan 31 19:59:09 2015
>
> the first number being a temperature reading.
> Having trouble figuring out how to get this work.
Does this do what you want?
set timefmt "%b %d %H:%M:%S %Y"
set xdata time
plot "file.dat" using 3:1
Cheers
Colin
--
----------------------------------------------------------------------
Colin Brough Colin.Brough@blueyonder.invalid
(Replace .invalid with .co.uk to reply)
[toc] | [prev] | [next] | [standalone]
| From | Anthony fromtheuk <anthonyfromtheuk@gmail.com> |
|---|---|
| Date | 2015-01-31 13:21 -0800 |
| Message-ID | <e97fb5b6-da6f-42d8-965d-b4cc46c328fb@googlegroups.com> |
| In reply to | #2734 |
Perfect thanks
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web