Hi Chris,
you could probably do a little awk magic and pipe the resulting data into
gnuplot. You would have to open both files in awk (in perl ...), add the two
values and pipe the result into gnuplot, where you'd plot them.
If your files are that large as you describe it might be impossible to hold
both the data sets in ram at once (more than 1 hour of writing into a file
from a C-program ought to be quite a bit of data ....)
Hope this helps,
take care
Dieter
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------Am Freitag, 9. Mai
2008 20:33:19 schrieb cmartin:
> Hi,
> I'm trying to find a way to add two data sets(contained in different files)
> together and plot the result. Is there any easy way of doing this. For
> example, is there any way of creating a function, say f(x), which contains
> your data set? If that is possible, then I could just read my data files
> into two functions, f(x) and g(x), and then plot f(x)+g(x)
>
> Thanks for any help
> Chris
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info