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


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

Re: formating title using columnhead

From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: formating title using columnhead
Date 2013-02-04 16:21 +0100
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>

Show all headers | 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