|
From: Jon <dev...@gm...> - 2010-11-04 08:17:41
|
Hello,
So far gnuplot has given me many surprises, and expanded my horizon how much
it can do. Now comes one more thing I am wondering whether gnuplot can do.
For example, I save mu and sigma in a file
# mu sigma
0.1 0.1
0.1 0.2
0.1 0.3
0.2 0.1
0.2 0.2
...
I want to read the first line and assign them to two variables mu and sigma,
then plot
f(x,mu,sigma)=exp(-(x-mu)**2/2/sigma**2)/sqrt(2*pi)/sigma
and then read the next line and assign to mu and sigma, and plot the next
Gaussian distribution again
...
If this can be done, that would give great flexibility to gnuplot,
Thanks for any advices,
Sincerely,
Jon
|