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

Displaying markers on specific values in Gnuplot's line plot
Gnuplot 2D Scatter Plot Density [duplicate]
How to make 4d cylindrical contour plot, and what format to have data
Gnuplot - Command Substitution and Script Name
place label aligned to right, at certain y coordinate?
Different markers for same data set in gnuplot
Gnuplot how to lower the number of tics in x axis
Fill bars in gnuplot with dots or other patterns
gnuplot fitting with f(x)= x/(x+k)
Gnuplot: vertical space between series titles
How to manage `;` expected error in gnuplot
gnuplot candlestick red and green fill
Composite xrange in gnuplot
Gnuplot histogram x logscale
Gnuplot, plotting a graph with text on y axis
Different line styles for vectors from the same data file

Categories

HOME
solr
qt5
momentjs
dll
dropbox-api
python-3.6
castle-windsor
raspberry-pi3
android-gradle
apache-apex
vaadin-grid
crc
rectangles
outlook-redemption
snapshot
webassembly
fix
jxmaps
riscv
spring-boot-actuator
zillow
twitter-streaming-api
ajaxform
gun
greedy
face-api
nodemon
remote-connections
measurement
ireport
android-adapter
dexguard
filestream
userfrosting
ngrx-effects
interactive
dataweave
gulp-usemin
tycho
yield
rufus-scheduler
virsh
gear-vr
django-media
autocompleteextender
miva
angularjs-service
schemaless
google-gadget
self-referencing-table
syncsort-dmx-h
strstream
dart-polymer
lzma
client-side
kmip
f#-interactive
cts
anonymity
sonarqube-5.4
blackberry-simulator
liquibase-hibernate
traceroute
ng-template
wx
mpmediapickercontroller
proto
amdatu
wave
ontouchevent
interspire-shopping-cart
sapb1
gliffy
sql-job
httplib
fad
sqloledb
tbb
knockout-mapping-plugin
android-handlerthread
jform-designer
mathgl
linq-to-lucene
interlacing
alassetslibrary
node-http-proxy
boost-spirit-karma
mercurial-subrepos
grit
ctime
pubchem
system-design
twisted.internet
iphone-sdk-3.0
pasteboard
google-instant-previews
tomahawk
www-mechanize
paint.net
visual-programming

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