Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #878
| From | tkarcher <tkarcher78@googlemail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Wrong label values on the Y-axis in a time series |
| Date | 2012-01-27 07:57 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <20c633fd-2499-412e-aab0-aa4e1ba0a80b@bs8g2000vbb.googlegroups.com> (permalink) |
| References | <170b5442-3839-4f3f-8027-33c169575af3@hs8g2000vbb.googlegroups.com> <jftt2b$2f7t$1@gwdu112.gwdg.de> |
On 27 Jan., 11:08, Christoph Bersch <use...@bersch.net> wrote: > Hi Thomas, > > On 27.01.2012 10:14, tkarcher wrote: > > > Any idea why the following graphs show "2024" as the last label value > > on the Y-axis instead of "2025"? > >http://commons.wikimedia.org/wiki/File:Bielefeld_population.svg > >http://commons.wikimedia.org/wiki/File:Eberswalde_population.svg > > (Both generated on a Windows system with gnuplot 4.4 Patchlevel 4. The > > script is attached to the description of the files. Also discussed > > here:http://commons.wikimedia.org/wiki/Commons:Graphics_village_pump#Gnupl...) > > The xtics increment which you use (788400000) corresponds to 25 years > with 365 days, but one year has 365.25 days. I haven't looked into the > gnuplot sources how the time differences are handled but I guess this is > the problem. If you use 7885000000 the labels are correct. > > Christoph *facepalm* So obvious, and yet I didn't think of it. I changed the value to 7.889238e8 now (60*60*24*365.2425*25), and it worked just fine. Thanks!
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
Wrong label values on the Y-axis in a time series tkarcher <tkarcher78@googlemail.com> - 2012-01-27 01:14 -0800
Re: Wrong label values on the Y-axis in a time series Christoph Bersch <usenet@bersch.net> - 2012-01-27 11:08 +0100
Re: Wrong label values on the Y-axis in a time series Hermann Peifer <peifer@gmx.eu> - 2012-01-27 16:18 +0100
Re: Wrong label values on the Y-axis in a time series tkarcher <tkarcher78@googlemail.com> - 2012-01-27 07:57 -0800
csiph-web