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


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

Re: formating title using columnhead

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.swapon.de!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 Fri, 01 Feb 2013 20:15:30 +0100
Lines 18
Message-ID <an2iifFrnr6U1@mid.dfncis.de> (permalink)
References <1d5df7fa-7ff8-4801-ac19-8d504595481f@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 HiQLa6XS12/yjA3tWl4jSQL+6g5RI2RZHnKbQmHzrdTxxQ+0eKFq5eSbODnmb7Ayy3KzNOJHaY
Cancel-Lock sha1:NUYlHidBUICH/VPm5y5uTceuwVg=
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
In-Reply-To <1d5df7fa-7ff8-4801-ac19-8d504595481f@googlegroups.com>
Xref csiph.com comp.graphics.apps.gnuplot:1594

Show key headers only | View raw


On 01.02.2013 08:13, ab wrote:
>
>     plot "data" u 1:5  title gprintf("%5.2e",columnhead(5))
> does not work, it shows a 0.0  as title.

That's not particularly surprising, what with columnhead() being a 
_string_ valued function, but you're promising to gprintf() that you'll 
be passing a number.

> Is this a bug or a non- implemented feature?
>
> I can use gprintf with a string argument like:
>     plot "data" u 1:5  title gprintf("%5.2e","345.345")

The line between string and numeric literals have become somewhat 
blurred in recent gnuplot.  Otherwise this wouldn't have worked either.

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


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