Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1599

Re: formating title using columnhead

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 Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: formating title using columnhead
Date Mon, 04 Feb 2013 16:21:59 +0100
Lines 15
Message-ID <ana20nFi9duU1@mid.dfncis.de> (permalink)
References <1d5df7fa-7ff8-4801-ac19-8d504595481f@googlegroups.com> <an2iifFrnr6U1@mid.dfncis.de> <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

Show key headers only | View raw


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.

Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

formating  title using columnhead ab <ab.3942@googlemail.com> - 2013-01-31 23:13 -0800
  Re: formating  title using columnhead Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2013-02-01 20:15 +0100
    Re: formating  title using columnhead ab <ab.3942@googlemail.com> - 2013-02-03 23:46 -0800
      Re: formating  title using columnhead Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2013-02-04 16:21 +0100

csiph-web