I'm experimenting with evolutionary algorithms and I have written two text files that I cannot get the plot. Based on the information on google, I think I have the format correct.

(generation-number) (tab) (best-fitness)

for example:

1 231

2 240

3 245
...

To plot this, I start gnuplot and I am greeted by the welcome screen.

Subject says it. I have multiple files I need to plot overlaying each other. Some of them may be empty. Is there a way to have it ignore the "Skipping data file with no valid points" error and just continue plotting? Here is my plot statement. the 9682 and/or 967E data files may be empty, but I need to see any data in either that is there.

If you tell gnuplot to plot those numbers as simple lines they'll continuously overlap, making hard to see quickly which is higher in each moment, or how they all add up. I find that stacked filled graphs like the one here are much easier to understand, but I couldn't find how to do them with Gnuplot. Until now that is.

Hi
I am plotting a series of CDFs using gnuplot using

Code:
plot "data" u 1:(1./x.) smooth cumulative
I am doing this over many files and I need to tune the x value to the number of lines that meets a particular condition.

Is it possible to get the line count from shell using

Code:
cat file | grep CONDITION | wc -l
and pass it on to gnuplot by any means?

Thanks a l

In sample.dat I have:

set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 500, 350
set output 'simple.2.png'

plot [-pi/2:pi] cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))

From ubuntu/terminal I execute:

gnuplot -e "filename='sample.dat'"

but the simple.2.png file is not created. How do I export a plot to e.g png using gnuplot from command line?

Hello everyone,

im trying to create a special graphic with gnuplot and dont really get where i want.

What i want to do is this:
I have 20 textfiles containing 8000x2 matrices, where the first column represents the time and the second the amplitude of a wave.
Now all 20 wave-functions shell be plotted in one graphic, that way that there is a vertical offset between them.

I use gnuplot to print some ascii files. In the same plot I use data from different files. I skip the first and second line using every ::3.

Can I use the first two rows as key titles?

I have a script that runs a calculation and then plots the result using gnuplot script file. The problem is that I need to make more than one plot and I don't want windows to cover each other.

Hello community,I'm facing quite a strange problem with Arch's Gnuplot package. I need to make a pm3d plot from point data, but want to hide the points and only show the interpolated surface. I asked how to do this on a maths forum and got the advice to use the "nosurface" option. But unfortunately this option has absolutely no effect for me.