I have C++ program that now generates two files:
So, for plot I need to have two files which are related to each other.
Is there any possibility, to pack it all to one file? I mean: to put data points coordinates inside gnuplot script?
I am using gnuplot 4.4.
Yes, you can put datapoints inside your gnuplot script. The simplest example would be
plot "-" with lines, "-" with lines
1 1
2 2
3 3
e
1 3
2 2
3 1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With