on unix-like systems and windows with cygwin library:
plot "< join A.txt B.txt" using 1:($3/$2)
LukasP wrote:
>
> Hello,
>
> let's have two datafiles, both have the same number of lines (and the same
> first column):
>
> A.txt:
> 1 10
> 2 20
>
> B.txt:
> 1 11
> 2 30
>
> And I'd need to draw a plot of ratio of y-values, so that x = {1, 2} (same
> in both datafiles) and y = {11/10=1.1, 30/20=1.5}.
>
> Is there a way how to provide this?
>
> Cheers,
>
> LuP
>
>
--
View this message in context: http://old.nabble.com/Two-input-files%2C-how-to-plot-ratio-of-values--tp29356424p29356488.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|