How to plot multiple fit functions in a single box

rekha sharma <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <CALfvbN+meBj1GQ4vgWmDaJeww1-6hw27dbf=n7wXt-P-ySf8Bg@mail.gmail.com>
Dear GNUplot users,
I am plotting some data with some  fitting function.

My code is

f(x) = (a0 + a1/x)
fit f(x) 'test.data' using 1:2 via a0,a1
plot 'test.data' using 1:2 w points pt 1 t  ,  f(x) t sprintf("K_{fit} =
a_0 +  a_1/T", a0)
fit f(x) 'test.data' using 1:3 via a0,a1
plot  'test.data' using 1:3 w points pt 1 t   ,  f(x) t sprintf("K_{fit} =
a_0 +  a_1/T", a0)


f(x) = (a0 + a1/x)
fit f(x) 'test.data' using 1:4 via a0,a1
plot 'test.data' using 1:4 w points pt 1 t   ,  f(x) t sprintf("K_{fit} =
a_0 +  a_1/T", a0)
f(x) = (a0 + a1/x)
fit f(x) 'test.data' using 1:5 via a0,a1
plot 'test.data' using 1:5 w points pt 1 t   ,  f(x) t sprintf("K_{fit} =
a_0 +  a_1/T", a0)


f(x) = (a0 + a1/x)
fit f(x) 'test.data' using 1:6 via a0,a1
plot 'test.data' using 1:6 w points pt 1 t ,  f(x) t sprintf("K_{fit} = a_0
+  a_1/T", a0)
f(x) = (a0 + a1/x)
fit f(x) 'test.data' using 1:7 via a0,a1
plot 'test.data' using 1:7 w points pt 1 t  ,  f(x) t sprintf("K_{fit} =
a_0 +  a_1/T", a0)


f(x) = (a0 + a1/x)
fit f(x) 'test.data' using 1:8 via a0,a1
plot 'test.data' using 1:8 w points pt 1 t  ,  f(x) t sprintf("K_{fit} =
a_0 +  a_1/T", a0)
f(x) = (a0 + a1/x)
fit f(x) 'test.data' using 1:9 via a0,a1
plot 'test.data' using 1:9 w points pt 1 t   ,  f(x) t sprintf("K_{fit} =
a_0 +  a_1/T", a0)


Using this code, I am getting a plot in eight boxes while I want to plot in
a single box.

Is there any workaround for this issue in gnuplot so that I can plot all
above in a single box?

Any help will be highly appreciated.

Regards
Rekha
--

_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.