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

Gnupot histogram with different colors of one column
gnuplot : Can the splot command generate impulses in the x-y plane?
gnuplot : How to use values in dat file as destination for arrows?
No variable substitution with a call command
gnuplot: multi-line x-labels are cropped
gnuplot rowstacked : Sum of rows is alway 100 but on the graphic bar are less than 100
How to set different heights for separate plots using multiplot
Discrete heat map with GNUPLOT
Bars overlapping box area gnuplot
Gnuplot key horizontal spacing
Plotting Average curve for points in gnuplot
Using gnuplot, how can I plot sin(x) in the x-z plane and sin(x) in the x-y plane, both at the same time?
Add color to multiphase flow in gnuplot
How to merge two plots in Gnuplot
Gnuplot 5.0.0 3D splot maps or Labelled multiplots
Gnuplot - Multiple Linear Regression from Data File

Categories

HOME
audio
objective-c
phpunit
solr6
composer-php
function
sql-server-2005
autodesk-forge
entities
android-animation
glusterfs
formula
apostrophe-cms
widget
angularjs-ng-transclude
stormcrawler
logstash-grok
video-processing
cllocationmanager
kafka-consumer-api
spring-data-elasticsearch
subplot
pentaho-spoon
dht
rinsim
cpu-registers
unimrcp
virtuoso
eof
indexof
provider
jointjs
gtm-database
street-address
nonetype
android-auto
maximo-anywhere
google-console-developer
ssas-tabular
paypal-adaptive-payments
tableau-public
rufus-scheduler
canvas-lms
mypy
wso2-appm
live-connect-sdk
xml-rpc
kubernetes-health-check
istanbul
scodec
banking
code-signing-entitlements
ucp
strstream
kindle
virtual-directory
nokia
correspondence-analysis
timedelta
grid-layout
phpinfo
splash-screen
couchbase-sync-gateway
bitcount
datamapper
cmfctoolbar
singularitygs
xcode-bots
meter
qubole
materialized-views
protection
order-of-operations
cordova-chrome-app
childviewcontroller
interspire-shopping-cart
srv
slab
django-1.7
tbb
numpad
apache-commons-exec
nsurlprotocol
string-conversion
google-playground
worklight-studio
yepnope
inference
mat-file
ereg
iwebkit
jax-rpc
icarousel
contentflow
mfi
mindmapping
cocos2d-python
olpc

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile