Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: formating title using columnhead Date: Mon, 04 Feb 2013 16:21:59 +0100 Lines: 15 Message-ID: References: <1d5df7fa-7ff8-4801-ac19-8d504595481f@googlegroups.com> <75e33740-1cc6-4053-95f9-565346b37f69@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de pd9bLdRDHyYMIHMJwgI2Dw1F9w3neUm/FmLwN47PAhSlYUBjkVLAawFaaUZPq4x883n30yp+EF Cancel-Lock: sha1:EM3SiXWIattmu4Bmbn0yUyQe38w= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <75e33740-1cc6-4053-95f9-565346b37f69@googlegroups.com> Xref: csiph.com comp.graphics.apps.gnuplot:1599 On 04.02.2013 08:46, ab wrote: > The manual states: > "A string which contains a numerical value is promoted to the corresponding > integer or real value if used in a numerical expression." That might apply if columnvalue() hat been used in a numerical expression here. But using it as the argument of gprintf() doesn't really satisfy such a condition. I would probably try something like gprintf("%5.2e", 0.0+columnhead(5) ) That is actually using columnhead(5) in a numeric expression.