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


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

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-26 08:53 -0700
Organization made entirely of Lego
Message-ID <m04251$hsa$1@dont-email.me> (permalink)
References <b0938425-a89a-4d30-9276-3b57275d3011@googlegroups.com> <d1b314c9-615b-46a8-a612-58ad368e39f9@googlegroups.com> <m02kbf$agu$1@dont-email.me> <53330d1f-097b-49ec-93da-dbf3d5414330@googlegroups.com>

Show all headers | View raw


Bart Vandewoestyne wrote:

> On Friday, September 26, 2014 4:51:27 AM UTC+2, Ethan A Merritt wrote:
>> 
>>   yticlabels(8)
>> 
>> will echo back what's in the file.  Is that what you want?
> 
> I tried this solution with the script online at
> 
> https://dl.dropboxusercontent.com/u/32340538/gnuplot/BigBenchTimes.pl
> 
> Resulting plot is online at
> 
> https://dl.dropboxusercontent.com/u/32340538/gnuplot/screenshot1.png
> 
> This is not really what I want, for several reasons:
> 
> 1) yticlabels are overlapping.  I would prefer to have evenly spaced
> yticlabels, but in HH:MM:SS.SSS format instead of milliseconds.  So
> for example ytics of the form HH:MM:SS.SSS every 15 minutes or every
> hour or so.

Millisecond precision over an axis range with hourly spacing would
imply 7 or more decimal places of accuracy in the display.
That exceeds the precision of any output device I know of.

Of course if you want to stick ".000" on the end of each tic label,
you can.  Just put it in the format statement.  But it won't convey
any useful information.

However it could make sense to attach millisecond precision to individual
data points if they are sparsely distributed.
That is why yticlabels might be an option.  

> 2) xticlabels are gone

You must have done something wrong.
The x and y tic labels are independent, and can both use
data-driver labels if requested:

 plot "BigBenchTimes_short.csv" using 7:xticlabels(stringcolumn(2).stringcolumn(3).stringcolumn(4)):yticlabels(8)

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