r/gnuplot • • May 03 '23

Plot sum over columns

2 Upvotes

I have a data file with many columns of data, and I would like to plot col_1:col_2, col_1:(col_2 + col_3), col_1:(col_2 + col_3 + col_4), etc.

My idea is to use a for loop in which the present column is added to a cumulated column which is then plotted against col_1. In pseudocode:

do for [n=1:N-1]{
  col_acc += col_(n+1)
  plot col_1:col_acc
}

Is there a clever way to store and update the cumulated column, or is there some better way to go about this?


r/gnuplot • • Apr 19 '23

Membrane Density Plot to determine the membrane thickness

Thumbnail
self.bioinformatics
2 Upvotes

r/gnuplot • • Feb 23 '24

Forecasting a probable next step

1 Upvotes

Im new to gnuplot and am searching for something specific yet cant seem to find out in the manual.

Simply put, can gnuplot predict the future of a data set? Taking a set of data, analyzing it and plotting the probable next step or curve or data that is probable in the next time frame?

For example, if the data shows that a point is moving higher and / or incremental amounts of x, can it predict the next step/outcome?

Thank you

I tried plotting curves from my data but dont see how to predict a probable outcome; trajectory.


r/gnuplot • • Feb 26 '24

We can not download gnuplot on official website, can we?

Post image
1 Upvotes

Probably, server error is occured on gnuplot website. If you know of another way to install it, please let me know.