### 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