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


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

Re: concatenating xticlabels and y-axis-formatting

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: concatenating xticlabels and y-axis-formatting
Date Thu, 25 Sep 2014 19:51:27 -0700
Organization made entirely of Lego
Lines 46
Message-ID <m02kbf$agu$1@dont-email.me> (permalink)
References <b0938425-a89a-4d30-9276-3b57275d3011@googlegroups.com> <d1b314c9-615b-46a8-a612-58ad368e39f9@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Fri, 26 Sep 2014 02:51:27 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="7bbfccb08e3cb0f92ebf95516f5f5a81"; logging-data="10782"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AseQY4ZqF6LCQEsWW4u50"
User-Agent KNode/4.11.4
Cancel-Lock sha1:+vEFKfkafdZLAdbGtb8JnyfiqEA=
Xref csiph.com comp.graphics.apps.gnuplot:2600

Show key headers only | View raw


Bart Vandewoestyne wrote:

> On Thursday, September 25, 2014 10:55:46 AM UTC+2, Bart Vandewoestyne
> wrote:
>>
>> As you can see, currently the xticlabels are taken from the first
>> column.  I would like the xticlabels to be the concatenation of
>> columns 2, 3 and 4.  I tried
>> 
>> plot "BigBenchTimes_short.csv" using
>> 7:(xticlabels(stringcolumn(2).stringcolumn(3).stringcolumn(4))) ti ""
>> 
>> but this gives me a segmentation fault:
>> 
>> bart@speedwing:~/Dropbox/Public/gnuplot$ gnuplot BigBenchTimes.pl
>> 
>> Segmentation fault (core dumped)
> 
> I just noticed that the following *does* work:
> 
> plot "BigBenchTimes_short.csv" using 7:xticlabels(sprintf("%s, stream
> %s, query %s", stringcolumn(2), stringcolumn(3), stringcolumn(4))) ti
> ""
> 
> Exactly what I needed, so first problem solved :-)
> 
> For showing the milliseconds in HH:MM:SS.SSS I haven't figured out a
> solution yet.  I tried several things with
> 
>   set ydata time
> 
> or
> 
>   set format y "%H:%M:%S"
> 
> but didn't find something that works yet.  Any hints on this one are
> still welcome.

  yticlabels(8)

will echo back what's in the file.  Is that what you want?


> 
> Regards,
> Bart

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


Thread

concatenating xticlabels and y-axis-formatting Bart Vandewoestyne <bart.vandewoestyne@gmail.com> - 2014-09-25 01:55 -0700
  Re: concatenating xticlabels and y-axis-formatting Bart Vandewoestyne <bart.vandewoestyne@gmail.com> - 2014-09-25 02:29 -0700
    Re: concatenating xticlabels and y-axis-formatting Ethan A Merritt <EAMerritt@gmail.com> - 2014-09-25 19:51 -0700
      Re: concatenating xticlabels and y-axis-formatting Bart Vandewoestyne <bart.vandewoestyne@gmail.com> - 2014-09-26 04:14 -0700
        Re: concatenating xticlabels and y-axis-formatting Ethan A Merritt <EAMerritt@gmail.com> - 2014-09-26 08:53 -0700
          Re: concatenating xticlabels and y-axis-formatting Bart Vandewoestyne <bart.vandewoestyne@gmail.com> - 2014-09-29 01:53 -0700
            Re: concatenating xticlabels and y-axis-formatting Ethan A Merritt <EAMerritt@gmail.com> - 2014-09-29 08:35 -0700
              Re: concatenating xticlabels and y-axis-formatting Bart Vandewoestyne <bart.vandewoestyne@gmail.com> - 2014-09-30 08:10 -0700
                Re: concatenating xticlabels and y-axis-formatting Ethan A Merritt <sfeam@users.sourceforge.net> - 2014-09-30 16:43 -0700
                Re: concatenating xticlabels and y-axis-formatting Bart Vandewoestyne <bart.vandewoestyne@gmail.com> - 2014-10-02 01:34 -0700
                Re: concatenating xticlabels and y-axis-formatting Ethan A Merritt <EAMerritt@gmail.com> - 2014-10-02 08:13 -0700

csiph-web