Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Use fit parameters as title for a plot Followup-To: comp.graphics.apps.gnuplot Date: Wed, 07 Dec 2011 21:57:31 -0800 Organization: gnuplot development team Lines: 28 Message-ID: References: <926800ec-27a5-4262-a86c-b0dca9824cac@g7g2000vbd.googlegroups.com> <9b4ca773-d75b-42a8-8e7d-c3b34f73fb7f@n10g2000vbg.googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Thu, 8 Dec 2011 05:57:38 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="19430"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hcI6xo+8d2xBeB25t8wgw" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:PdjVpuBCDp++8Gs3ROMHy9boGcA= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:729 Gabriele wrote: > On 7 Dic, 19:51, tv wrote: >> On Dec 7, 5:33 pm, Gabriele wrote: >> >> > Now i want to plot a graph with a title like: >> > "blablabla Aval - Aerr blablabla" >> >> set title sprintf("blablabla %f - %f blablabla",Aval ,Aerr) > > Thank you very much :) > > How do i access to Aerr value? I read it on the fit.log, but it's seem > not stored elsewhere gnuplot> help fit [...] After each iteration step, detailed information about the current state of the fit is written to the display. The same information about the initial and final states is written to a log file, "fit.log". This file is always appended to, so as to not lose any previous fit history; it should be deleted or renamed as desired. By using the command `set fit logfile`, the name of the log file can be changed. If gnuplot was built with this option, and you activated it using `set fit errorvariables`, the error for each fitted parameter will be stored in a variable named like the parameter, but with "_err" appended. Thus the errors can be used as input for further computations.