for gnuplot fans

Posted on
Mon Aug 29, 2016 11:18 pm
kw123 offline
User avatar
Posts: 7122
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

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest