|
From: Thomas S. <t.s...@fz...> - 2010-05-14 13:16:55
|
please append the two figures 'out.png' and 'out2.png'
Danilo Vargas wrote:
>
> Hi guys,
>
> I plotted a function with a regression and it worked fine as it could be
> seen on the figure out2.png, but when I tried to plot this same function
> with logscale, that is, I just added "set logscale xy" to my script, then
> the out.png appeared. But it did not seem right.
>
> I am also pasting my script below:
> #!/usr/bin/gnuplot
> reset
> set logscale xy
> set xlabel "Problem Size"
> set ylabel "Function Evaluations"
> set terminal postscript enhanced
> set style data points
> set samples 1000
> set origin 0,0
> set title
> f(x) = (a)*(x**e)*(log(x)/log(2))
> g(x) = (k2)*(x**d)*(log(x)/log(2))
> h(x) = (k3)*(x**c)*(log(x)/log(2))
> fit f(x) "comparison" using 1:2 via e,a
> fit g(x) "comparison" using 1:3 via d,k2
> fit h(x) "comparison" using 1:4 via c,k3
>
> plot [:][:] "comparison" using 1:2 noti "ECGA", \
> f(x) title "ECGA: O(m^{1.92}*log_2(m))", \
> "comparison" using 1:3 notitle "PhGA-a", \
> g(x) title "PhGA-a: O(m^{1.18}*log_2(m))", \
> "comparison" using 1:4 notitle "PhGA-b", \
> h(x) title "PhGA-b: O(m^{0.99}*log_2(m))"
>
> Thanks in advance,
> --
>
> Danilo
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/Log-scale-not-working--tp28554706p28559212.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|