for gnuplot fans

Posted on
Mon Aug 29, 2016 11:18 pm
kw123 offline
User avatar
Posts: 5326
Joined: May 12, 2013
Location: dallas, tx

for gnuplot fans

what you always wanted to know and were afraid to ask:

plot data from column 16 in your file and show only data when it is Thursday: (weekday=4)
Code: Select all
using 1:(tm_wday(strptime("%Y%m%d%H",strcol(1))))==4 ? $16 : 1/0 with lines  lt 1 lw 1 lc rgb "#000000"  title "Plot only thursday data"    axis x1y1

and your data looks like: (dateStamp;datacolum;datacolum;...); with date-format=%Y%m%d%H
Code: Select all
2016072021;123;2;0;0;0;0;72.0;88.2;33.35;29.4714285714;25.84;0.0;10.2352941176;9.64705882353;2245.99424242;61944.3060606;3408.64;61945.4;6533.21548387;9075.93;47644.8548387;47647.5;0.9;22.1910569106;22.0595041322;24.7508196721;0;0;2.0

Karl
Attachments
Screen Shot 2016-08-30 at 00.12.41.png
Screen Shot 2016-08-30 at 00.12.41.png (84.49 KiB) Viewed 415 times

Page 1 of 1

Who is online

Users browsing this forum: racarter and 1 guest