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

How plot two function in the same graph in Gnuplot?

Gnuplot. A singular function fitting A*(sin(b*x)/(b*x))**2

How do I make a color legend in gnuplot?

How to write expectation value symbols in gnuplot

Gnuplot calculate slope and convert to angle for label alignment

GnuPlot splot function with 2d points

How to plot lines parallel to the x-axis with a certain offset given by data in an input file with gnuplot

Gnuplot: cut circles outside range

Octave: warning: opengl_renderer: Error 1286 occurred in init_gl_context

GNUPLOT: Capital gamma in times new roman

Why doesn't pm3d work with view map? (Gnuplot)

How to hide gnuplot axis but still show grid?

Gnuplot: Axis format

simplied tics expression in gnuplot

How to prevent Gnuplot omitting datapoints near the edge?

GNUPlot - Plotting a data set in polar form (r, θ, T(r,θ)) to a contour/heat map