gnuplot


Sum of selected columns filtered by regex in gnuplot


Well, I do understand that gnuplot is not a data-processing system but a plotting software. But anyway...
In python-pandas, I can select multiple columns by passing a regex to dataframe e.g. df.filter( regex = '\.x$' ) will return columns named 'sw0.x', 'sw1.x' etc. Then I can sum them up and plot them.
Recently I've moved to pgfplots (latex) and I use gnuplot extensively with pgfplots on large-data set. Many times I needs to plot the sum of many columns which matches a given regular expression. I want to do something like plot 'data.csv' SUM("\.x$") every 100 with line where function/macro/whatever SUM accepts the regular expression and returns me the sum of appropriate columns.

Related Links

gnuplot timefmt error from csv input “Bad time format”
Animate multiple data files in GNU-Plot
Gnuplot plot points in certain interval with autoupdate
For loop with showing key one time in gnuplot
Gnuplot: several plots from single file where the data are interspersed
Add Error Bars to GNUPlot Barplot
Plot multiple series from the same file
Gnuplot - Draw grid behind rectangles
GNUPlot: Plot 4D gridded data
Gnupot: wrap data for smooth kdensity
Interpolating graph in gnuplot
How to use a string and a variable in a gnuplot label in epslatex terminal?
How to specify color of multiplot title
GNUPLOT Inverse x and y axis for simple function [duplicate]
colour contour plot from a sequential xy file (datablocks)
How to get contour or surface plot form datafile (with gnuplot)?

Categories

HOME
rstudio
firebase-authentication
entities
speech-recognition
binary
virtocommerce
memcached
slim
jestjs
ccache
lokijs
double
fix
axon
cllocationmanager
pixel
twitter-typeahead
sdl
divide-and-conquer
twitter-streaming-api
flip-flop
raycasting
sitefinity
apache-felix
summary
postmates
ctype
polymer-starter-kit
ireport
modeling
omnipay
maven-exec-plugin
uwamp
netbanx-api
citations
database-theory
sqlcmd
james
gemfile
reddit
falcor
tableau-public
nsfontpanel
rufus-scheduler
sp-executesql
invoke
azure-webjobssdk
rate
ucp
smf
google-plus-domains
gethostbyname
google-roads-api
stl-format
ios9.3
sparklines
episerver-6-r2
backspace
youtube-javascript-api
pagerslidingtabstrip
command-line-tool
django-pipeline
spatialite
merit-gem
qmediaplayer
er-diagrams
pig-udf
jxa
seeding
ttml
magnetometer
cleartool
zenoss
vin
mysql-num-rows
curator
ember-qunit
tokumx
javascript-databinding
runscope
kendo-validator
activator
freetextbox
styledtext
interlacing
sencha-touch-2.2
inter-process-communicat
mindmap
fold
rs485
rdata
wsimport
eclipse-wtp
iunknown
maskedinput
ldapconnection
server-side-scripting
vp8
wexitstatus
mercurial-subrepos
grit
springmockito
custom-view
shadowbox
function-overloading
iphone-sdk-3.0
windows-networking
iphone-sdk-4.1
rebuild
showmodaldialog
live-cd

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App