Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ethan A Merritt Newsgroups: comp.graphics.apps.gnuplot Subject: Re: concatenating xticlabels and y-axis-formatting Date: Fri, 26 Sep 2014 08:53:06 -0700 Organization: made entirely of Lego Lines: 43 Message-ID: References: <53330d1f-097b-49ec-93da-dbf3d5414330@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Fri, 26 Sep 2014 15:53:06 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="7bbfccb08e3cb0f92ebf95516f5f5a81"; logging-data="18314"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19IqvHy/XNWQIqDC4IuX9jj" User-Agent: KNode/4.11.4 Cancel-Lock: sha1:DIpWXri5yHzDYES64M8N1oBEWE0= Xref: csiph.com comp.graphics.apps.gnuplot:2602 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)