On Jan 28, 2004, at 2:41 AM, Marek W. Gutowski wrote:
> From the end: after 'fit' command you should see the best values
> of your parameters. Anytime you can also issue a command
> gnuplot> print a, b, c
> to see again their values. So, they can be printed on the console,
> but not on the graph.
> To make them a part of graph you should specify 'title' explicitly,
> like this:
> gnuplot> set title "f(x) = 1.44 + 2.70*x + 1.57*x^2"
> This requires some manual work, prone to mistakes. I'm afraid this
> is the only working way, unless somebody knows another.
> I think that this limitation comes from the difficulties in calculating
> the proper location of the desired string (you may request various
> fonts, of different size, using variety of formats available, etc.),
> not overlapping with anything of interest.
>
> Please consider reading
> gnuplot> help title
> gnuplot> help key # this is a code name for legend
> gnuplot> help label
> Especially the last thing is probably the most flexible way to put
> extra information into the graph, and the most tedious at the same
> time ...
> Sorry,
> Marek Gutowski
>
Marek,
thanks for your reply. I ended up doing exactly that now. It's still
sort of strange that gnuplot can't do that directly with variable
values.
Thanks,
nick
|