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


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

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-01 20:15 +0100
Message-ID <an2iifFrnr6U1@mid.dfncis.de> (permalink)
References <1d5df7fa-7ff8-4801-ac19-8d504595481f@googlegroups.com>

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