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

From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: concatenating xticlabels and y-axis-formatting
Date 2014-09-25 19:51 -0700
Organization made entirely of Lego
Message-ID <m02kbf$agu$1@dont-email.me> (permalink)
References <b0938425-a89a-4d30-9276-3b57275d3011@googlegroups.com> <d1b314c9-615b-46a8-a612-58ad368e39f9@googlegroups.com>

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